java.lang.Object | |
↳ | sun.security.provider.certpath.CertId |
This class corresponds to the CertId field in OCSP Request and the OCSP Response. The ASN.1 definition for CertID is defined in RFC 2560 as:
CertID ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, issuerNameHash OCTET STRING, -- Hash of Issuer's DN issuerKeyHash OCTET STRING, -- Hash of Issuers public key serialNumber CertificateSerialNumber }
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a CertId.
| |||||||||||
Creates a CertId from its ASN.1 DER encoding.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Encode the CertId using ASN.1 DER.
| |||||||||||
Compares this CertId for equality with the specified
object.
| |||||||||||
Return the hash algorithm identifier.
| |||||||||||
Return the hash value for the issuer key.
| |||||||||||
Return the hash value for the issuer name.
| |||||||||||
Return the serial number.
| |||||||||||
Returns a hashcode value for this CertId.
| |||||||||||
Create a string representation of the CertId.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a CertId. The hash algorithm used is SHA-1.
IOException |
---|
Creates a CertId from its ASN.1 DER encoding.
IOException |
---|
Encode the CertId using ASN.1 DER. The hash algorithm used is SHA-1.
IOException |
---|
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.
other | the object to test for equality with this object. |
---|
Return the hash value for the issuer key.
Return the hash value for the issuer name.
Returns a hashcode value for this CertId.
Create a string representation of the CertId.