method

new

ruby latest stable - Class: OpenSSL::OCSP::CertificateId
new(p1, p2 = v2, p3 = v3)
public

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.