150件ヒット
[1-100件を表示]
(0.072秒)
種類
- 特異メソッド (55)
- 文書 (51)
- 定数 (22)
- インスタンスメソッド (22)
クラス
-
OpenSSL
:: X509 :: Name (77)
モジュール
- OpenURI (22)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
DEFAULT
_ OBJECT _ TYPE (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
OBJECT
_ TYPE _ TEMPLATE (11) -
open
_ uri (22) -
parse
_ openssl (11) -
parse
_ rfc2253 (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
to
_ a (11) -
to
_ s (11)
検索結果
先頭5件
- OpenSSL
:: X509 :: Name . parse(str , template=OBJECT _ TYPE _ TEMPLATE) -> OpenSSL :: X509 :: Name - OpenSSL
:: X509 :: Name . parse _ openssl(str , template=OBJECT _ TYPE _ TEMPLATE) -> OpenSSL :: X509 :: Name - OpenSSL
:: X509 :: Name . parse _ rfc2253(str , template=OBJECT _ TYPE _ TEMPLATE) -> OpenSSL :: X509 :: Name - OpenSSL
:: X509 :: Name # to _ s(flags=nil) -> String - OpenSSL
:: X509 :: Name :: DEFAULT _ OBJECT _ TYPE -> Integer
-
OpenSSL
:: X509 :: Name . parse(str , template=OBJECT _ TYPE _ TEMPLATE) -> OpenSSL :: X509 :: Name (32363.0) -
文字列をパースして OpenSSL::X509::Name オブジェクトを返します。
...文字列をパースして OpenSSL::X509::Name オブジェクトを返します。
例:
require 'openssl'
OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp')
@param str パースする文字列
@param template... -
OpenSSL
:: X509 :: Name . parse _ openssl(str , template=OBJECT _ TYPE _ TEMPLATE) -> OpenSSL :: X509 :: Name (23463.0) -
文字列をパースして OpenSSL::X509::Name オブジェクトを返します。
...文字列をパースして OpenSSL::X509::Name オブジェクトを返します。
例:
require 'openssl'
OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp')
@param str パースする文字列
@param template... -
OpenSSL
:: X509 :: Name . parse _ rfc2253(str , template=OBJECT _ TYPE _ TEMPLATE) -> OpenSSL :: X509 :: Name (20335.0) -
RFC2253形式の文字列を パースして OpenSSL::X509::Name オブジェクトを返します。
...RFC2253形式の文字列を
パースして OpenSSL::X509::Name オブジェクトを返します。
@param str パースする文字列
@param template 属性型に対応するデータ型を表わすハッシュ... -
OpenSSL
:: X509 :: Name # to _ s(flags=nil) -> String (14120.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......ab3/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.co.jp,CN=fo......o_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... -
OpenSSL
:: X509 :: Name :: DEFAULT _ OBJECT _ TYPE -> Integer (14036.0) -
属性値のデフォルトの ASN.1 の型です。
...属性値のデフォルトの ASN.1 の型です。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new で
template に指定されなかった属性はこの型であると仮定して処理されます。
OpenSSL::ASN1::UTF8STRING を返します。... -
OpenSSL
:: X509 :: Name # to _ a -> [[String , String , Integer]] (14030.0) -
内容を配列にして返します。
...性型文字列、属性値文字列、属性値の型を表す整数(OpenSSL::ASN1以下の各定数で定義されているASN1の型)] という3要素の配列です。
例:
require 'openssl'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/ema... -
OpenSSL
:: X509 :: Name :: OBJECT _ TYPE _ TEMPLATE -> { String => Integer } (14030.0) -
属性型に対応する ASN.1の型を格納したハッシュです。
...ハッシュです。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new
などでデフォルト値として使われます。
キーは属性型文字列で、ASN.1の型を表わす整数が対応します。
以下の文字列がキーです。
'C', 'countryName', 'serialNumber', 'dnQua... -
ruby 1
. 8 . 2 feature (168.0) -
ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。
...= 2004-12-19
: OpenSSL::X509::Store#time= [lib] [new]
: OpenSSL::X509::StoreContext#time= [lib] [new]
追加。
: OpenSSL::X509::Name::RFC2253DN [lib] [new]
module for RFC2253 DN format.
: OpenSSL::X509::Name.parse_rfc2253 [lib] [new]
new method to parse RFC2253 DN for......2004-12-16 に削除されました。
((<ruby-dev:25206>))?
: OpenSSL::PKey::RSA.public_encrypt [lib] [compat]
: OpenSSL::PKey::RSA.public_decrypt [lib] [compat]
: OpenSSL::PKey::RSA.private_encrypt [lib] [compat]
: OpenSSL::PKey::RSA.private_decrypt [lib] [compat]
パディングを......))。PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING under OpenSSL::PKey::RSA.
=== 2004-12-05
: OptionParser::Completion#complete [lib] [compat]
new parameter to direct case insensitiveness.
: OptionParser#order! [lib] [change]
((<ruby-dev:25048>))
=== 2004-12-0... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (166.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返......authentication => [username, password] })
: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emlist{
文字列: "http://proxy.example.com:8000/" のようなプロクシの URI。
URI オブジェクト: URI.parse("http://proxy.example......ます。これを指定した場合は OpenSSL がデフォルトで使う
CA 証明書は使われません。
証明書のファイル名、証明書のディレクトリ名を指定できます。
詳しくは
OpenSSL::X509::Store#add_file、
OpenSSL::X509::Store#add_path
を参照して... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (166.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返......authentication => [username, password] })
: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emlist{
文字列: "http://proxy.example.com:8000/" のようなプロクシの URI。
URI オブジェクト: URI.parse("http://proxy.example......ます。これを指定した場合は OpenSSL がデフォルトで使う
CA 証明書は使われません。
証明書のファイル名、証明書のディレクトリ名を指定できます。
詳しくは
OpenSSL::X509::Store#add_file、
OpenSSL::X509::Store#add_path
を参照して...