123456789_123456789_123456789_123456789_123456789_

Class: OpenSSL::OCSP::CertificateId

Relationships & Source Files
Inherits: Object
Defined in: ext/openssl/ossl_ocsp.c

Overview

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

Class Method Summary

Instance Method Summary

Constructor Details

.new(subject, issuer, digest = nil) ⇒ certificate_id

Creates a new CertificateId for the given subject and issuer ::OpenSSL::X509 certificates. The digest is used to compute the certificate ID and must be an ::OpenSSL::Digest instance.

Instance Method Details

#cmp(other) ⇒ Boolean

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

#cmp_issuer(other) ⇒ Boolean

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

#get_serialInteger

Returns the serial number of the issuing certificate.