X509::Name.new => name
X509::Name.new(der) => name
X509::Name.new(distinguished_name) => name
X509::Name.new(distinguished_name, template) => name
X509::Name.new(der) => name
X509::Name.new(distinguished_name) => name
X509::Name.new(distinguished_name, template) => name
Class Public methods
Creates a new Name.
A name may be created from a DER encoded string der
, an Array
representing a distinguished_name
or a
distinguished_name
along with a template
.
name = OpenSSL::X509::Name.new [['CN', 'nobody'], ['DC', 'example']] name = OpenSSL::X509::Name.new name.to_der
See #add_entry for a description
of the distinguished_name
Array's contents
Please login to continue.