instance method
OpenSSL::OCSP::CertificateId#cmp_issuer
(self other) -> bool
certificate_id.cmp_issuer(other) → true or false
ext/openssl/ossl_ocsp.c
View on GitHub ↗
static VALUE
ossl_ocspcid_cmp_issuer(VALUE self, VALUE other)
{
OCSP_CERTID *id, *id2;
int result;
GetOCSPCertId(self, id);
GetOCSPCertId(other, id2);
result = OCSP_id_issuer_cmp(id, id2);
return (result == 0) ? Qtrue : Qfalse;
}
Compares this certificate id’s issuer with other and returns true if they are the same.