instance method
OpenSSL::X509::Extension#oid
() -> ::String
ext.oid → string
ext/openssl/ossl_x509ext.c
View on GitHub ↗
static VALUE
ossl_x509ext_get_oid(VALUE obj)
{
X509_EXTENSION *ext;
GetX509Ext(obj, ext);
return ossl_asn1obj_to_string(X509_EXTENSION_get_object(ext));
}
Returns the OID of the extension. Returns the short name or the dotted decimal notation.