class OpenSSL::ASN1::ObjectId
Represents the primitive object id for OpenSSL::ASN1
Public Class Methods
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 1294
def self.register: (String object_id, String short_name, String ong_name) -> bool
This adds a new ObjectId to the internal tables. Where object_id is the numerical form, short_name is the short name, and long_name is the long name.
Returns true if successful. Raises an OpenSSL::ASN1::ASN1Error if it fails.
Public Instance Methods
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 1306
def ==: (ObjectId other) -> bool
Returns true if other_oid is the same as oid.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 1315
def ln: () -> String?
The long name of the ObjectId, as defined in <openssl/objects.h>.
Also aliased as: long_name
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 1329
def oid: () -> String
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 1343
def sn: () -> String?
The short name of the ObjectId, as defined in <openssl/objects.h>.
Also aliased as: short_name
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 1296
def value: () -> String