instance method
OpenSSL::X509::CRL#signature_algorithm
() -> ::String
crl.signature_algorithm → string
ext/openssl/ossl_x509crl.c
View on GitHub ↗
static VALUE
ossl_x509crl_get_signature_algorithm(VALUE self)
{
X509_CRL *crl;
const X509_ALGOR *alg;
const ASN1_OBJECT *obj;
GetX509CRL(self, crl);
X509_CRL_get0_signature(crl, NULL, &alg);
X509_ALGOR_get0(&obj, NULL, NULL, alg);
return ossl_asn1obj_to_string_long_name(obj);
}
Returns the signature algorithm used to sign this CRL.
Returns the long name of the signature algorithm, or the dotted decimal notation if OpenSSL does not define a long name for it.