Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::OCSP::CertificateIdクラス > cmp

instance method OpenSSL::OCSP::CertificateId#cmp

cmp(other) -> bool[permalink][rdoc]

2つの CertificateId オブジェクトを比較し、同じものであれば真を返します。

[PARAM] other:
比較する OpenSSL::OCSP::CertificateId オブジェクト

[SEE_ALSO] OpenSSL::OCSP::CertificateId#cmp_issuer