Class X509CertificateAttributesContextSpecific
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.der.ContextSpecific
-
- es.gob.jmulticard.asn1.der.pkcs15.X509CertificateAttributesContextSpecific
-
public final class X509CertificateAttributesContextSpecific extends ContextSpecific
Objeto ASN.1 de contexto específico del X509CertificateAttributes.
-
-
Field Summary
Fields Modifier and Type Field Description private static byte
TAG
-
Constructor Summary
Constructors Constructor Description X509CertificateAttributesContextSpecific()
Construye un objeto ASN.1 de contexto específico del X509CertificateAttributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkTag(byte tag)
Comprueba que el tipo proporcionado sea compatible con el del objeto ASN.1.(package private) java.lang.String
getIssuer()
Proporciona el nombre X.500 del emisor del certificado(package private) java.lang.String
getPath()
Devuelve la ruta del certificado.(package private) byte[]
getPathBytes()
Devuelve la ruta del certificado como array de octetos.(package private) java.math.BigInteger
getSerialNumber()
Obtiene el número de serie del Certificado.(package private) java.lang.String
getSubject()
Proporciona el nombre X.500 del titular del certificadojava.lang.String
toString()
-
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 Detail
-
TAG
private static final byte TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkTag
public void checkTag(byte tag) throws Asn1Exception
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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getIssuer
java.lang.String getIssuer()
Proporciona el nombre X.500 del emisor del certificado- Returns:
- Nombre X.500 del emisor del certificado
-
getSubject
java.lang.String getSubject()
Proporciona el nombre X.500 del titular del certificado- Returns:
- Nombre X.500 del emisor del certificado
-
getPath
java.lang.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
java.math.BigInteger getSerialNumber()
Obtiene el número de serie del Certificado.- Returns:
- Número de serie del Certificado
-
-