33件ヒット
[1-33件を表示]
(0.034秒)
ライブラリ
- openssl (33)
クラス
-
OpenSSL
:: X509 :: Name (11)
モジュール
-
OpenSSL
:: ASN1 (11)
キーワード
- ASN1 (11)
-
DEFAULT
_ OBJECT _ TYPE (11)
検索結果
先頭3件
-
OpenSSL
:: ASN1 :: UTF8STRING -> Integer (18218.0) -
ASN.1 UNIVERSAL タグの、 UTF8STRING のタグ番号 12 を表す定数です。
...ASN.1 UNIVERSAL タグの、
UTF8STRING のタグ番号 12 を表す定数です。... -
OpenSSL
:: X509 :: Name :: DEFAULT _ OBJECT _ TYPE -> Integer (107.0) -
属性値のデフォルトの ASN.1 の型です。
...属性値のデフォルトの ASN.1 の型です。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new で
template に指定されなかった属性はこの型であると仮定して処理されます。
OpenSSL::ASN1::UTF8STRING を返します。... -
OpenSSL
:: ASN1 (36.0) -
ASN.1(Abstract Syntax Notation One) のデータを取り扱うためのモジュールです。
...ire 'openssl'
# 単純型のデータ
x = OpenSSL::ASN1::UTF8String.new("foobar")
# 構造型のデータ
y = OpenSSL::ASN1::Sequence.new([OpenSSL::ASN1::Boolean.new(true),
OpenSSL::ASN1::Integer.new(-12)])
# APPLICATION タグクラスのタグ2番でタ......と同じ
u.to_der # => "C\x01\x00"
# エンコードした文字列をデコード
OpenSSL::ASN1.decode(x.to_der)
# => #<OpenSSL::ASN1::UTF8String:0x000000027cc700 @tag=12, @value="foobar", @tagging=nil, @tag_class=:UNIVERSAL>
OpenSSL::ASN1.decode(y.to_der)
# => #<OpenSSL::ASN1::Sequenc......000027c47d0 @tag=16, @value=[#<OpenSSL::ASN1::Boolean:0x000000027c4898 @tag=1, @value=true, @tagging=nil, @tag_class=:UNIVERSAL>, #<OpenSSL::ASN1::Integer:0x000000027c47f8 @tag=2, @value=-12, @tagging=nil, @tag_class=:UNIVERSAL>], @tagging=nil, @tag_class=:UNIVERSAL>
OpenSSL::ASN1.decode(z.to_der)...