public final class Cdf extends Record
elementsTypes
rawDerValue, rawValue
Constructor and Description |
---|
Cdf()
Construye un objeto PKCS#15 CDF (Certificate Description File) ASN.1.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCertificateAlias(int index)
Obtiene el alias del certificado indicado.
|
int |
getCertificateCount()
Obtiene el número de certificados del CDF.
|
byte[] |
getCertificateIdentifier(int index)
Obtiene el identificador binario del certificado indicado.
|
java.lang.String |
getCertificateIdString(int index) |
byte[] |
getCertificateIssuerPrincipal(int index) |
java.lang.String |
getCertificateIssuerPrincipalAsString(int index)
Obtiene el nombre X.500 del emisor del certificado indicado.
|
java.lang.String |
getCertificatePath(int index)
Obtiene la ruta PKCS#15 hacia el certificado indicado.
|
java.math.BigInteger |
getCertificateSerialNumber(int index)
Obtiene el número de serie del certificado indicado.
|
byte[] |
getCertificateSubjectPrincipal(int index) |
java.lang.String |
getCertificateSubjectPrincipalAsString(int index)
Obtiene el nombre X.500 del titular del certificado indicado.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
decodeValue, getDefaultTag, getElementAt, getElementCount, getInstance
checkTag, getByteValue, getRawDerValue, setDerValue
public Cdf()
public int getCertificateCount()
public java.lang.String getCertificateIssuerPrincipalAsString(int index)
index
- Índice del certificadopublic byte[] getCertificateIssuerPrincipal(int index)
public java.lang.String getCertificateSubjectPrincipalAsString(int index)
index
- Índice del certificadopublic byte[] getCertificateSubjectPrincipal(int index)
public java.math.BigInteger getCertificateSerialNumber(int index)
index
- Índice del certificadopublic byte[] getCertificateIdentifier(int index)
index
- Índice del certificadopublic java.lang.String getCertificateIdString(int index)
public java.lang.String getCertificatePath(int index)
index
- Índice del certificadopublic java.lang.String getCertificateAlias(int index)
index
- Índice del certificadopublic 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