method

register

ruby latest stable - Class: OpenSSL::ASN1::ObjectId
register(p1, p2, p3)
public

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.