signature_algorithm() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
ossl_x509_get_signature_algorithm(VALUE self)
    X509 *x509;
    BIO *out;
    VALUE str;

    GetX509(self, x509);
    out = BIO_new(BIO_s_mem());
    if (!out) ossl_raise(eX509CertError, NULL);

    if (!i2a_ASN1_OBJECT(out, x509->cert_info->signature->algorithm)) {
        ossl_raise(eX509CertError, NULL);
    str = ossl_membio2str(out);

    return str;
Register or log in to add new notes.