種類
- インスタンスメソッド (44)
- モジュール関数 (33)
- 特異メソッド (22)
- 文書 (11)
- モジュール (11)
ライブラリ
- openssl (110)
クラス
-
OpenSSL
:: ASN1 :: Null (22) -
OpenSSL
:: ASN1 :: ObjectId (44)
モジュール
-
OpenSSL
:: ASN1 (33)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) - Null (22)
- decode (11)
- ln (11)
-
long
_ name (11) -
short
_ name (11) - sn (11)
検索結果
先頭5件
-
OpenSSL
:: ASN1 :: Null . new(value) -> OpenSSL :: ASN1 :: Null (21232.0) -
ASN.1 の Null 型の値を表現する OpenSSL::ASN1::Null オブジェクトを 生成します。
...値を表現する OpenSSL::ASN1::Null オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::NULL となります。
@param value ASN.1 値を表す Ruby のオブジェクト(nil)
@param tag タグ番号
@p... -
OpenSSL
:: ASN1 :: Null . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Null (21232.0) -
ASN.1 の Null 型の値を表現する OpenSSL::ASN1::Null オブジェクトを 生成します。
...値を表現する OpenSSL::ASN1::Null オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::NULL となります。
@param value ASN.1 値を表す Ruby のオブジェクト(nil)
@param tag タグ番号
@p... -
OpenSSL
:: ASN1 (18480.0) -
ASN.1(Abstract Syntax Notation One) のデータを取り扱うためのモジュールです。
...いて、
ASN.1 のデータ型は OpenSSL::ASN1::ASN1Data および
そのサブクラスにマップされています。
ASN.1 の単純型(simple type)は OpenSSL::ASN1::Primitive の
各サブクラスに、構造型(structured type)は OpenSSL::ASN1::Constructive
の各サブクラスに対......::ASN1::Primitive のタグ付けの情報を使うことで、
IMPLICIT or EXPLICIT なタグ付けを実現することもできます。
例:
require 'openssl'
# 単純型のデータ
x = OpenSSL::ASN1::UTF8String.new("foobar")
# 構造型のデータ
y = OpenSSL::ASN1::Sequence.new([......デコード
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::Sequence:0x000000027c47d0 @tag=16, @value=[#<OpenSSL::ASN1::Boolean:0x000000027c48... -
NEWS for Ruby 2
. 0 . 0 (6078.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......デックスについては nil を返します
* Enumerable
* 追加: Enumerable#lazy 遅延列挙のためのメソッドです
* Enumerator
* 追加: Enumerator#size サイズを遅延評価するためのメソッドです
* 拡張: Enumerator.new サイズの遅延評価のた......openssl
* Consistently raise an error when trying to encode nil values. All instances
of OpenSSL::ASN1::Primitive now raise TypeError when calling to_der on an
instance whose value is nil. All instances of OpenSSL::ASN1::Constructive
raise NoMethodError in the same case. Const... -
OpenSSL
:: ASN1 . # decode(der) -> OpenSSL :: ASN1 :: ASN1Data (3306.0) -
DER 表現の文字列を解析し、そこにエンコードされている ASN.1 の値を OpenSSL::ASN1::ASN1Data のサブクラスのインスタンスとして返します。
...DER 表現の文字列を解析し、そこにエンコードされている ASN.1 の値を
OpenSSL::ASN1::ASN1Data のサブクラスのインスタンスとして返します。
複数の ASN.1 の値が含まれている場合、先頭の値だけを返します。
ASN.1 オブジェクトが......9::Certificate.new(pem)
pp OpenSSL::ASN1.decode(cert.to_der)
' mycert.pem
#<OpenSSL::ASN1::Sequence:0x814e9fc
@tag=16,
@tag_class=:UNIVERSAL,
@tagging=nil,
@value=
[#<OpenSSL::ASN1::Sequence:0x814ead8
@tag=16,
@tag_class=:UNIVERSAL,
@tagging=nil,
@value=......[#<OpenSSL::ASN1::ASN1Data:0x814f690
@tag=0,
@tag_class=:CONTEXT_SPECIFIC,
@value=
[#<OpenSSL::ASN1::Integer:0x814f6a4
@tag=2,
@tag_class=:UNIVERSAL,
@tagging=nil,
@value=2>]>,
...
@param der DE... -
OpenSSL
:: ASN1 . # Null(value) -> OpenSSL :: ASN1 :: Null -> OpenSSL :: ASN1 :: Null (3221.0) -
ASN.1 の Null 型の値を表現する Ruby のオブジェクトを 生成します。
...ASN.1 の Null 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Null.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(nilのみ)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@... -
OpenSSL
:: ASN1 . # Null(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Null (3121.0) -
ASN.1 の Null 型の値を表現する Ruby のオブジェクトを 生成します。
...ASN.1 の Null 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Null.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(nilのみ)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@... -
OpenSSL
:: ASN1 :: ObjectId # ln -> String | nil (3120.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... -
OpenSSL
:: ASN1 :: ObjectId # long _ name -> String | nil (3120.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... -
OpenSSL
:: ASN1 :: ObjectId # short _ name -> String | nil (3120.0) -
オブジェクト識別子に対応する short name を返します。
...オブジェクト識別子に対応する short name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"
@see OpenSSL::ASN1::ObjectId#ln...