Class Nanite::DistinguishedName
In: lib/nanite/security/distinguished_name.rb
Parent: Object

Build X.509 compliant distinguished names Distinghuished names are used to desccribe both a certificate issuer and subject.

Methods

new   to_s   to_x509  

Public Class methods

Initialize distinguished name from hash e.g.:

  { 'C'  => 'US',
    'ST' => 'California',
    'L'  => 'Santa Barbara',
    'O'  => 'RightScale',
    'OU' => 'Certification Services',
    'CN' => 'rightscale.com/emailAddress=cert@rightscale.com' }

Public Instance methods

Human readable form

Conversion to OpenSSL X509 DN

[Validate]