3件ヒット
[1-3件を表示]
(0.101秒)
ライブラリ
- openssl (3)
キーワード
-
create
_ ext _ from _ string (1) -
long
_ name (1)
検索結果
先頭3件
-
OpenSSL
:: X509 :: Extension # oid=(oid) (63304.0) -
拡張領域の識別子(extnID)をOIDの文字列で設定します。
拡張領域の識別子(extnID)をOIDの文字列で設定します。
@param oid OIDの文字列
@raise OpenSSL::X509::Extension 識別子の設定に失敗した場合に発生します
@see OpenSSL::X509::Extension#oid -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension (9340.0) -
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。
@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ext -
OpenSSL
:: ASN1 :: ObjectId # long _ name -> String | nil (9322.0) -
オブジェクト識別子に対応する long name を返します。
オブジェクト識別子に対応する long name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.ln #=> "X509v3 Subject Alternative Name"
@see OpenSSL::ASN1::ObjectId#sn