187件ヒット
[101-187件を表示]
(0.054秒)
種類
- 特異メソッド (66)
- インスタンスメソッド (66)
- クラス (22)
- 文書 (22)
- ライブラリ (11)
ライブラリ
- openssl (154)
クラス
キーワード
- ExtensionFactory (11)
-
NEWS for Ruby 2
. 1 . 0 (11) - Request (11)
-
create
_ ext (11) -
create
_ ext _ from _ array (11) -
create
_ ext _ from _ hash (11) -
create
_ ext _ from _ string (11) -
create
_ extension (22) -
net
/ imap (11) - new (44)
-
ruby 1
. 8 . 4 feature (11)
検索結果
先頭5件
-
OpenSSL
:: OCSP :: Response . new -> OpenSSL :: OCSP :: Response (11114.0) -
Response オブジェクトを生成します。
...Response オブジェクトを生成します。
DER 形式の文字列を渡した場合はその内容を
ロードします。引数なしの場合は空のオブジェクトを返します。
@param der DER 形式の文字列
@see OpenSSL::OCSP::Response.create... -
OpenSSL
:: OCSP :: Response . new(der) -> OpenSSL :: OCSP :: Response (11114.0) -
Response オブジェクトを生成します。
...Response オブジェクトを生成します。
DER 形式の文字列を渡した場合はその内容を
ロードします。引数なしの場合は空のオブジェクトを返します。
@param der DER 形式の文字列
@see OpenSSL::OCSP::Response.create... -
OpenSSL
:: OCSP :: BasicResponse . new -> OpenSSL :: OCSP :: BasicResponse (11113.0) -
空の BasicResponse オブジェクトを生成します。
...空の BasicResponse オブジェクトを生成します。
@see OpenSSL::OCSP::Response.create... -
OpenSSL
:: X509 :: ExtensionFactory (11070.0) -
OpenSSL::X509::Extension を簡便に生成するための クラスです。
...OpenSSL::X509::Extension を簡便に生成するための
クラスです。
例
require 'openssl'
# ca_cert: CA の証明書オブジェクト
# req: CSR オブジェクト
# newcert: 新たに生成する証明書のオブジェクト
ca_cert = OpenSSL::X509::Certificate.new(File.read......('ca_cert.pem'))
req = OpenSSL::X509::Request.new(File.read('req.pem'))
newcert = OpenSSL::X509::Certificate.new
# 新しい ExtensionFactory オブジェクトを生成し、 CA の証明書オブジェクト
# を設定
factory = OpenSSL::X509::ExtensionFactory.new(ca_cert)
# CSR オ......ints 拡張領域を生成
p factory.create_extension("basicConstraints", "CA:FALSE")
# => basicConstraints = CA:FALSE
# subjectKeyIdentifier 拡張領域を生成
# この値は CSR オブジェクトの公開鍵から生成される
p factory.create_extension("subjectKeyIdentifier", "ha... -
OpenSSL
:: X509 :: Request (11054.0) -
X.509 の証明書署名要求(Certificate Signing Request, CSR)を表わす クラスです。
...CSR を生成する例。
require 'openssl'
# ファイルから秘密鍵を読み込む
rsa = OpenSSL::PKey::RSA.new(File.read("privkey.pem"))
# 新しい CSR オブジェクトを生成
csr = OpenSSL::X509::Request.new
# DN を生成
name = OpenSSL::X509::Name.new
name.add_entry('C......sa.public_key
# attribute を設定
factory = OpenSSL::X509::ExtensionFactory.new
exts = [ factory.create_ext("subjectAltName", "DNS:foo.example.com") ]
asn1exts = OpenSSL::ASN1::Set([OpenSSL::ASN1::Sequence(exts)])
csr.add_attribute(OpenSSL::X509::Attribute.new("extReq", asn1exts))
#... -
ruby 1
. 8 . 4 feature (90.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...。
#: OpenSSL
#Wed Nov 23 07:26:44 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
#
# * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
#
# * ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
# OPENSSL_malloc to allocate X509V3_CTX.
#
# * ext/openssl/ossl_x5......tory_create_ext): use
# X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
# values are placed in separate section).
#
# * test/openssl/test_x509ext.rb: new file.
#
# ?
#Tue Nov 01 10:50:17 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
#
# * ext/openssl/ext......:27597]
#
# * ext/openssl/ossl.c (ossl_raise): ditto.
#
# ?
#Mon Oct 31 05:49:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
#
# * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
# not be empty. [ruby-talk:161220]
#
# * test/openssl/test_cipher.rb: add tes... -
NEWS for Ruby 2
. 1 . 0 (18.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...うになりました。
* Proc
* Returning from lambda proc now always exits from the Proc, not from the
method where the lambda is created. Returning from non-lambda proc exits
from the method, same as the former behavior.
* String
* 以下のコードでレシーバー......ation
* 追加: ObjectSpace.#reachable_objects_from_root
* 追加: ObjectSpace.#dump
* 追加: ObjectSpace.#dump_all
* OpenSSL::BN
* 拡張: OpenSSL::BN.new Fixnum や Bignum を引数として取れるようになりました。
* open-uri
* 複数フィールドに同じ......名前付きキャプチャをサポートしました
* syslog/logger
* ファイリティを追加
* tempfile
* 追加: Tempfile.create
* timeout
* 明示的に例外クラスを指定しない限り、ブロックを抜けるための例外はブロック内部で rescue... -
net
/ imap (12.0) -
このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。
...com')
imap.authenticate('LOGIN', 'joe_user', 'joes_password')
imap.select('Mail/sent-mail')
if not imap.list('Mail/', 'sent-apr03')
imap.create('Mail/sent-apr03')
end
imap.search(["BEFORE", "30-Apr-2003", "SINCE", "1-Apr-2003"]).each do |message_id|
imap.copy(message_id, "Mail/sent......UOTA extension", RFC 2087, January 1997.
* [RFC-2086]
Myers, J., "IMAP4 ACL extension", RFC 2086, January 1997.
* [OSSL]
https://www.openssl.org/
* [RSSL]
http://savannah.gnu.org/projects/rubypki
以上のうち、いくつかの RFC は obsolete になって置き換えられ...