instance method
OpenSSL::X509::Attribute#oid
() -> ::String
attr.oid → string
ext/openssl/ossl_x509attr.c
View on GitHub ↗
static VALUE
ossl_x509attr_get_oid(VALUE self)
{
X509_ATTRIBUTE *attr;
GetX509Attr(self, attr);
return ossl_asn1obj_to_string(X509_ATTRIBUTE_get0_object(attr));
}
Returns the OID of the attribute. Returns the short name or the dotted decimal notation.