instance method
OpenSSL::OCSP::CertificateId#hash_algorithm
() -> ::String
certificate_id.hash_algorithm → String
ext/openssl/ossl_ocsp.c
View on GitHub ↗
static VALUE
ossl_ocspcid_get_hash_algorithm(VALUE self)
{
OCSP_CERTID *id;
ASN1_OBJECT *oid;
GetOCSPCertId(self, id);
OCSP_id_get0_info(NULL, &oid, NULL, NULL, id);
return ossl_asn1obj_to_string_long_name(oid);
}
Returns the ln (long name) of the hash algorithm used to generate the issuerNameHash and the issuerKeyHash values.
See also
#cmp_issuer
#issuer_key_hash
#cmp
#issuer_name_hash
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0