class
Ruby latest stable (v2_5_5)
-
0 notes
- Superclass:
Object
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (0)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
An X.509 name represents a hostname, email address or other entity associated with a public key.
You can create a Name by parsing a distinguished name String or by supplying the distinguished name as an Array.
name = OpenSSL::X509::Name.parse 'CN=nobody/DC=example' name = OpenSSL::X509::Name.new [['CN', 'nobody'], ['DC', 'example']]
Constants
MULTILINE = ULONG2NUM(XN_FLAG_MULTILINE)
ONELINE = ULONG2NUM(XN_FLAG_ONELINE)
RFC2253 = ULONG2NUM(XN_FLAG_RFC2253)
COMPAT = ULONG2NUM(XN_FLAG_COMPAT)
OBJECT_TYPE_TEMPLATE = hash
DEFAULT_OBJECT_TYPE = utf8str