An OpenSSL::OCSP::CertificateId identifies a certificate to the CA so that a status check can be performed.

Class Methods

Creates a new OpenSSL::OCSP::CertificateId for the given subject and issuer X509 certificates. The digest is a digest algorithm that is used to compute the hash values. This defaults to SHA-1.

If only one argument is given, decodes it as DER representation of a certificate ID or generates certificate ID from the object that responds to the to_der method.

Instance Methods

Compares this certificate id with other and returns true if they are the same.

Compares this certificate id’s issuer with other and returns true if they are the same.

Returns the ln (long name) of the hash algorithm used to generate the issuerNameHash and the issuerKeyHash values.

No documentation available

Returns the issuerKeyHash of this certificate ID, the hash of the issuer’s public key.

Returns the issuerNameHash of this certificate ID, the hash of the issuer’s distinguished name calculated with the hashAlgorithm.

Returns the serial number of the certificate for which status is being requested.

Encodes this certificate identifier into a DER-encoded string.