CertID ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
issuerNameHash OCTET STRING, -- Hash of Issuer's DN
issuerKeyHash OCTET STRING, -- Hash of Issuers public key
serialNumber CertificateSerialNumber
}
| Modifier and Type | Field and Description |
|---|---|
| private final SerialNumber | |
| private static final boolean | |
| private final AlgorithmId | |
| private final byte[] | |
| private final byte[] | |
| private int | |
| private static final AlgorithmId |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | encode(DerOutputStream out)
Implements sun. Encode the CertId using ASN.1 DER. |
| public boolean | Returns: true if the objects are considered equal, false otherwise.the object to test for equality with this object. other)Overrides java. Compares this CertId for equality with the specified object. |
| public AlgorithmId | |
| public byte[] | |
| public byte[] | |
| public BigInteger | |
| public int | Returns: a hashcode value for this CertIdOverrides java. Returns a hashcode value for this CertId. |
| public String |
| certSerialNumber | back to summary |
|---|---|
| private final SerialNumber certSerialNumber | |
| debug | back to summary |
|---|---|
| private static final boolean debug | |
| hashAlgId | back to summary |
|---|---|
| private final AlgorithmId hashAlgId | |
| issuerKeyHash | back to summary |
|---|---|
| private final byte[] issuerKeyHash | |
| issuerNameHash | back to summary |
|---|---|
| private final byte[] issuerNameHash | |
| myhash | back to summary |
|---|---|
| private int myhash | |
| SHA1_ALGID | back to summary |
|---|---|
| private static final AlgorithmId SHA1_ALGID | |
| CertId | back to summary |
|---|---|
| public CertId(X509Certificate issuerCert, SerialNumber serialNumber) throws IOException Creates a CertId. The hash algorithm used is SHA-1. | |
| CertId | back to summary |
|---|---|
| public CertId(X500Principal issuerName, PublicKey issuerKey, SerialNumber serialNumber) throws IOException | |
| CertId | back to summary |
|---|---|
| public CertId(DerInputStream derIn) throws IOException Creates a CertId from its ASN.1 DER encoding. | |
| encode | back to summary |
|---|---|
| public void encode(DerOutputStream out) Implements sun. Encode the CertId using ASN.1 DER. The hash algorithm used is SHA-1.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Compares this CertId for equality with the specified object. Two CertId objects are considered equal if their hash algorithms, their issuer name and issuer key hash values and their serial numbers are equal. | |
| getHashAlgorithm | back to summary |
|---|---|
| public AlgorithmId getHashAlgorithm() Return the hash algorithm identifier. | |
| getIssuerKeyHash | back to summary |
|---|---|
| public byte[] getIssuerKeyHash() Return the hash value for the issuer key. | |
| getIssuerNameHash | back to summary |
|---|---|
| public byte[] getIssuerNameHash() Return the hash value for the issuer name. | |
| getSerialNumber | back to summary |
|---|---|
| public BigInteger getSerialNumber() Return the serial number. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hashcode value for this CertId.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Create a string representation of the CertId.
| |