Class X509CertificateAttributesContextSpecific
java.lang.Object
es.gob.jmulticard.asn1.DecoderObject
es.gob.jmulticard.asn1.der.ContextSpecific
es.gob.jmulticard.asn1.der.pkcs15.X509CertificateAttributesContextSpecific
Objeto ASN.1 de contexto específico del X509CertificateAttributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruye un objeto ASN.1 de contexto específico del X509CertificateAttributes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkTag
(byte tag) Comprueba que el tipo proporcionado sea compatible con el del objeto ASN.1.(package private) String
Proporciona el nombre X.500 del emisor del certificado(package private) String
getPath()
Devuelve la ruta del certificado.(package private) byte[]
Devuelve la ruta del certificado como array de octetos.(package private) BigInteger
Obtiene el número de serie del Certificado.(package private) String
Proporciona el nombre X.500 del titular del certificadotoString()
Methods inherited from class es.gob.jmulticard.asn1.der.ContextSpecific
decodeValue, getDefaultTag, getObject
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
getBytes, getRawDerValue, setDerValue
-
Field Details
-
TAG
private static final byte TAG- See Also:
-
-
Constructor Details
-
X509CertificateAttributesContextSpecific
public X509CertificateAttributesContextSpecific()Construye un objeto ASN.1 de contexto específico del X509CertificateAttributes.
-
-
Method Details
-
checkTag
Description copied from class:DecoderObject
Comprueba que el tipo proporcionado sea compatible con el del objeto ASN.1.- Overrides:
checkTag
in classContextSpecific
- Parameters:
tag
- Etiqueta de tipo a comprobar.- Throws:
Asn1Exception
- Si las etiquetas de tipo no son compatibles.
-
toString
-
getIssuer
String getIssuer()Proporciona el nombre X.500 del emisor del certificado- Returns:
- Nombre X.500 del emisor del certificado
-
getSubject
String getSubject()Proporciona el nombre X.500 del titular del certificado- Returns:
- Nombre X.500 del emisor del certificado
-
getPath
String getPath()Devuelve la ruta del certificado.- Returns:
- Ruta (path) del certificado
-
getPathBytes
byte[] getPathBytes()Devuelve la ruta del certificado como array de octetos.- Returns:
- Ruta (path) del certificado como array de octetos.
-
getSerialNumber
BigInteger getSerialNumber()Obtiene el número de serie del Certificado.- Returns:
- Número de serie del Certificado
-