public final class PrKdf extends Record
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
PrKdf.PrivateKeyInfo |
elementsTypes
rawDerValue, rawValue
Constructor and Description |
---|
PrKdf(boolean isDNIe40Based) |
Modifier and Type | Method and Description |
---|---|
protected DecoderObject |
getInstance(org.bouncycastle.asn1.ASN1Primitive object) |
int |
getKeyCount()
Obtiene el número de claves del PrKDF.
|
byte[] |
getKeyIdentifier(int index)
Obtiene el identificador de la clave indicada.
|
java.lang.String |
getKeyIdString(int index) |
java.lang.String |
getKeyName(int index)
Obtiene el nombre de la clave indicada
|
java.lang.String |
getKeyPath(int index)
Obtiene la ruta PKCS#15 hacia la clave indicada.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
decodeValue, getDefaultTag, getElementAt, getElementCount
checkTag, getByteValue, getRawDerValue, setDerValue
public int getKeyCount()
public byte[] getKeyIdentifier(int index)
index
- Índice de la clavepublic java.lang.String getKeyIdString(int index)
public java.lang.String getKeyName(int index)
index
- Índice de la clavepublic java.lang.String getKeyPath(int index)
index
- Índice de la claveprotected DecoderObject getInstance(org.bouncycastle.asn1.ASN1Primitive object) throws java.lang.InstantiationException, java.lang.IllegalAccessException
getInstance
in class Record
java.lang.InstantiationException
java.lang.IllegalAccessException
public java.lang.String toString()
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class java.lang.Object