44件ヒット
[1-44件を表示]
(0.136秒)
種類
- 定数 (33)
- インスタンスメソッド (11)
クラス
-
OpenSSL
:: X509 :: Name (22)
モジュール
-
OpenSSL
:: X509 (11) -
Socket
:: Constants (11)
キーワード
-
MSG
_ COMPAT (11) -
TRUST
_ COMPAT (11) -
to
_ s (11)
検索結果
先頭4件
-
OpenSSL
:: X509 :: Name :: COMPAT -> Integer (21201.0) -
OpenSSL::X509::Name#to_s のフラグとして使います。
...OpenSSL::X509::Name#to_s のフラグとして使います。... -
OpenSSL
:: X509 :: TRUST _ COMPAT -> Integer (9201.0) -
ルート CA 証明書が自分自身の秘密鍵で署名されています。
ルート CA 証明書が自分自身の秘密鍵で署名されています。 -
Socket
:: Constants :: MSG _ COMPAT -> Integer (9201.0) -
@todo End of record
@todo
End of record -
OpenSSL
:: X509 :: Name # to _ s(flags=nil) -> String (3112.0) -
DNの文字列表現を返します。
...ます。
* nil
* OpenSSL::X509::Name::COMPAT
* OpenSSL::X509::Name::RFC2253
* OpenSSL::X509::Name::ONELINE
* OpenSSL::X509::Name::MULTILINE
*
例:
require 'openssl'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@la......Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::COMPAT)
# => "C=JP, ST=Kanagawa, L=Yokohama, O=Example Company, OU=Lab3, CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::RFC2253)
# => "emailAddress=foobar@lab3.example......to_s(OpenSSL::X509::Name::ONELINE)
# => "C = JP, ST = Kanagawa, L = Yokohama, O = Example Company, OU = Lab3, CN = foobar, emailAddress = foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::MULTILINE)
# => "countryName = JP\nstateOrProvinceName = Kanagawa\nlocalityName...