Class CeresPrivateKeyObject
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.der.Sequence
-
- es.gob.jmulticard.asn1.der.pkcs15.Pkcs15Object
-
- es.gob.jmulticard.asn1.der.pkcs15.PrivateKeyObject
-
- es.gob.jmulticard.asn1.custom.fnmt.ceres.CeresPrivateKeyObject
-
public final class CeresPrivateKeyObject extends PrivateKeyObject
Tipo ASN.1 PKCS#15 PrivateKeyObject específico para ciertas tarjetas FNMT CERES.PrivateKeyObject {KeyAttributes} ::= PKCS15Object { CommonKeyAttributes, CommonPrivateKeyAttributes, KeyAttributes }Que en el caso de claves privadas RSA (instanciando comoPrivateKeyObject {PrivateRSAKeyAttributes}) y deshaciendoPKCS15Objecten su secuencia queda la estructura:PrivateKeyObject {PrivateRSAKeyAttributes} ::= SEQUENCE { CommonObjectAttributes, CommonKeyAttributes, CommonPrivateKeyAttributes, PrivateRsaKeyAttributes }
-
-
Constructor Summary
Constructors Constructor Description CeresPrivateKeyObject()Construye un objeto ASN.1 PKCS#15 PrivateKeyObject específico para ciertas tarjetas FNMT CERES.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getKeyIdentifier()Obtiene el identificador de la clave privada.java.lang.StringgetKeyPath()Obtiene la ruta hacia la clave privada.bytegetKeyReference()Obtiene la referencia de la clave.java.lang.StringtoString()-
Methods inherited from class es.gob.jmulticard.asn1.der.pkcs15.Pkcs15Object
getClassAttributes, getCommonObjectAttributes, getSubclassAttributes, getTypeAttributes
-
Methods inherited from class es.gob.jmulticard.asn1.der.Sequence
decodeValue, getDefaultTag, getElementAt, getElementCount
-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
-
-
-
Method Detail
-
getKeyIdentifier
public byte[] getKeyIdentifier()
Description copied from class:PrivateKeyObjectObtiene el identificador de la clave privada.- Overrides:
getKeyIdentifierin classPrivateKeyObject- Returns:
- Nombre de la clave privada
-
getKeyReference
public byte getKeyReference()
Description copied from class:PrivateKeyObjectObtiene la referencia de la clave.- Overrides:
getKeyReferencein classPrivateKeyObject- Returns:
- Referencia de la clave.
-
getKeyPath
public java.lang.String getKeyPath()
Description copied from class:PrivateKeyObjectObtiene la ruta hacia la clave privada.- Overrides:
getKeyPathin classPrivateKeyObject- Returns:
- Ruta hacia la clave privada.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classPrivateKeyObject
-
-