Class CommonPrivateKeyAttributesContextSpecific
java.lang.Object
es.gob.jmulticard.asn1.DecoderObject
es.gob.jmulticard.asn1.der.ContextSpecific
es.gob.jmulticard.asn1.der.pkcs15.CommonPrivateKeyAttributesContextSpecific
Objeto ASN.1 de contexto específico del CommonPrivateKeyAttributes.
CommonPrivateKeyAttributes ::= SEQUENCE {
name Name OPTIONAL,
keyIdentifiers [0] SEQUENCE OF CredentialIdentifier {{KeyIdentifiers}} OPTIONAL,
generalName [1] GeneralNames OPTIONAL,
... -- For future extensions
}
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruye un objeto ASN.1 de contexto específico del CommonPrivateKeyAttributes. -
Method Summary
Methods inherited from class ContextSpecific
decodeValue, getDefaultTag, getObjectMethods inherited from class DecoderObject
getBytes, getRawDerValue, setDerValue
-
Field Details
-
TAG
private static final byte TAG- See Also:
-
-
Constructor Details
-
CommonPrivateKeyAttributesContextSpecific
public CommonPrivateKeyAttributesContextSpecific()Construye un objeto ASN.1 de contexto específico del CommonPrivateKeyAttributes.
-
-
Method Details
-
checkTag
Description copied from class:DecoderObjectComprueba que el tipo proporcionado sea compatible con el del objeto ASN.1.- Overrides:
checkTagin classContextSpecific- Parameters:
tag- Etiqueta de tipo a comprobar.- Throws:
Asn1Exception- Si las etiquetas de tipo no son compatibles.
-
toString
-
getKeyPrincipal
Obtiene elPrincipalX.509 de la clave privada.- Returns:
PrincipalX.509 de la clave privada.
-