6530件ヒット
[1-100件を表示]
(0.113秒)
ライブラリ
-
net
/ http (242) -
net
/ imap (22) -
net
/ pop (11) -
net
/ smtp (44) - open-uri (11)
- openssl (6145)
-
rubygems
/ security (11) -
webrick
/ https (33) -
webrick
/ ssl (11)
クラス
-
Gem
:: Security :: Signer (11) - Integer (11)
-
Net
:: HTTP (242) -
Net
:: IMAP (22) -
Net
:: POP3 (11) -
Net
:: SMTP (44) -
OpenSSL
:: ASN1 :: ASN1Data (77) -
OpenSSL
:: ASN1 :: Constructive (33) -
OpenSSL
:: ASN1 :: ObjectId (55) -
OpenSSL
:: ASN1 :: Primitive (22) -
OpenSSL
:: BN (480) -
OpenSSL
:: Cipher (198) -
OpenSSL
:: Config (110) -
OpenSSL
:: Digest (66) -
OpenSSL
:: Engine (110) -
OpenSSL
:: HMAC (77) -
OpenSSL
:: Netscape :: SPKI (110) -
OpenSSL
:: OCSP :: BasicResponse (66) -
OpenSSL
:: OCSP :: CertificateId (33) -
OpenSSL
:: OCSP :: Request (77) -
OpenSSL
:: OCSP :: Response (44) -
OpenSSL
:: PKCS12 (44) -
OpenSSL
:: PKCS7 (286) -
OpenSSL
:: PKCS7 :: RecipientInfo (33) -
OpenSSL
:: PKCS7 :: SignerInfo (44) -
OpenSSL
:: PKey :: DH (187) -
OpenSSL
:: PKey :: DSA (264) -
OpenSSL
:: PKey :: EC (176) -
OpenSSL
:: PKey :: EC :: Group (187) -
OpenSSL
:: PKey :: EC :: Point (99) -
OpenSSL
:: PKey :: PKey (22) -
OpenSSL
:: PKey :: RSA (352) -
OpenSSL
:: SSL :: SSLContext (594) -
OpenSSL
:: SSL :: SSLServer (77) -
OpenSSL
:: SSL :: SSLSocket (275) -
OpenSSL
:: SSL :: Session (99) -
OpenSSL
:: X509 :: Attribute (55) -
OpenSSL
:: X509 :: CRL (231) -
OpenSSL
:: X509 :: Certificate (275) -
OpenSSL
:: X509 :: Extension (110) -
OpenSSL
:: X509 :: ExtensionFactory (176) -
OpenSSL
:: X509 :: Name (77) -
OpenSSL
:: X509 :: Request (176) -
OpenSSL
:: X509 :: Revoked (77) -
OpenSSL
:: X509 :: Store (176) -
OpenSSL
:: X509 :: StoreContext (143) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPRequest (33)
モジュール
-
OpenSSL
:: Buffering (264) -
OpenSSL
:: SSL :: SocketForwarder (77) -
OpenURI
:: Meta (11)
キーワード
- % (11)
- * (11)
- ** (11)
- + (11)
- - (11)
-
/ (11) - << (44)
- <=> (22)
- == (44)
- === (11)
- >> (11)
- [] (11)
- []= (11)
- accept (22)
-
accept
_ nonblock (11) -
add
_ attribute (11) -
add
_ cert (11) -
add
_ certid (11) -
add
_ certificate (11) -
add
_ crl (22) -
add
_ data (11) -
add
_ entry (11) -
add
_ extension (33) -
add
_ file (11) -
add
_ nonce (22) -
add
_ path (11) -
add
_ recipient (11) -
add
_ revoked (11) -
add
_ signer (11) -
add
_ status (11) -
add
_ value (11) - addr (11)
-
asn1
_ flag (11) -
asn1
_ flag= (11) - attributes (11)
- attributes= (11)
- basic (11)
-
bit
_ set? (11) -
block
_ length (11) -
block
_ size (11) -
ca
_ certs (11) -
ca
_ file (22) -
ca
_ file= (22) -
ca
_ path (22) -
ca
_ path= (22) - cert (33)
- cert= (22)
-
cert
_ store (22) -
cert
_ store= (22) - certid (11)
- certificate (11)
- certificates (11)
- certificates= (11)
- chain (22)
- challenge (11)
- challenge= (11)
-
check
_ key (11) -
check
_ nonce (11) -
check
_ private _ key (11) - cipher (33)
- cipher= (11)
- ciphers (22)
- ciphers= (22)
- cleanup (11)
-
clear
_ bit! (11) -
client
_ ca (11) -
client
_ ca= (11) -
client
_ cert (11) -
client
_ cert _ cb (11) -
client
_ cert _ cb= (11) - close (22)
- closed? (11)
- cmds (11)
- cmp (33)
-
cmp
_ issuer (11) - coerce (11)
- cofactor (11)
-
compute
_ key (11) - config (11)
- config= (11)
- connect (11)
-
connect
_ nonblock (11) - context (11)
- copy (11)
-
copy
_ nonce (11) -
create
_ ext (11) -
create
_ ext _ from _ array (11) -
create
_ ext _ from _ hash (11) -
create
_ ext _ from _ string (11) -
create
_ extension (22) - critical= (11)
- critical? (11)
- crl (11)
- crl= (11)
- crls (11)
- crls= (11)
-
ctrl
_ cmd (11) -
current
_ cert (11) -
current
_ crl (11) -
curve
_ name (11) - d (11)
- d= (11)
- data (11)
- data= (11)
- decrypt (33)
- degree (11)
- detached (11)
- detached= (11)
- detached? (11)
-
dh
_ compute _ key (11) - digest (22)
-
digest
_ length (11) - dmp1 (11)
- dmp1= (11)
- dmq1 (11)
- dmq1= (11)
-
do
_ not _ reverse _ lookup= (11) -
dsa
_ sign _ asn1 (11) -
dsa
_ verify _ asn1 (11) - e (11)
- e= (11)
- each (33)
-
each
_ byte (11) -
each
_ line (11) -
enable
_ ssl (22) -
enable
_ starttls (11) -
enable
_ starttls _ auto (11) -
enable
_ tls (11) -
enc
_ key (11) - encrypt (22)
- eof (11)
- eof? (11)
- eql? (33)
- error (22)
- error= (11)
-
error
_ depth (11) -
error
_ string (33) -
error
_ string= (11) - export (55)
- extensions (33)
- extensions= (33)
-
extra
_ chain _ cert (11) -
extra
_ chain _ cert= (11) - fcntl (11)
- final (11)
- finish (11)
- flags= (22)
- flush (11)
-
flush
_ sessions (11) - g (22)
- g= (22)
- gcd (11)
-
generate
_ key (11) -
generate
_ key! (11) - generator (11)
-
get
_ value (11) - getc (11)
- gets (11)
- getsockopt (11)
- group (22)
- group= (11)
-
hash
_ old (11) - hexdigest (11)
- hostname (11)
- hostname= (11)
- id (22)
- infinity? (11)
- inspect (11)
- invert! (11)
- io (11)
- iqmp (11)
- iqmp= (11)
- issuer (44)
- issuer= (22)
-
issuer
_ certificate (11) -
issuer
_ certificate= (11) - iv= (11)
-
iv
_ len (11) - key (44)
- key= (33)
-
key
_ len (11) -
key
_ len= (11) -
last
_ update (11) -
last
_ update= (11) - listen (11)
- ln (11)
-
load
_ private _ key (11) -
load
_ public _ key (11) -
long
_ name (11) - lshift! (11)
-
make
_ affine! (11) -
mask
_ bits! (11) -
mod
_ add (11) -
mod
_ exp (11) -
mod
_ inverse (11) -
mod
_ mul (11) -
mod
_ sqr (11) -
mod
_ sub (11) - n (11)
- n= (11)
- name (44)
- negative? (7)
-
next
_ update (11) -
next
_ update= (11) -
not
_ after (11) -
not
_ after= (11) -
not
_ before (11) -
not
_ before= (11) -
num
_ bits (11) -
num
_ bytes (11) - odd? (11)
- oid (33)
- oid= (22)
-
on
_ curve? (11) - one? (11)
- order (11)
- p (33)
- p= (33)
- padding= (11)
- params (33)
-
params
_ ok? (11) -
peer
_ cert (22) -
peer
_ cert _ chain (11) - peeraddr (11)
- pending (11)
-
pkcs5
_ keyivgen (11) -
point
_ conversion _ form (11) -
point
_ conversion _ form= (11) -
post
_ connection _ check (11) -
pretty
_ print (11) - prime? (22)
-
prime
_ fasttest? (11) - print (11)
- printf (11)
-
priv
_ key (22) -
priv
_ key= (22) - private? (22)
-
private
_ decrypt (11) -
private
_ encrypt (11) -
private
_ key (11) -
private
_ key= (11) -
private
_ key? (11) -
pub
_ key (22) -
pub
_ key= (22) - public? (22)
-
public
_ decrypt (11) -
public
_ encrypt (11) -
public
_ key (66) -
public
_ key= (44) -
public
_ key? (11) - purpose= (22)
- puts (11)
- q (22)
- q= (22)
-
random
_ iv (11) -
random
_ key (11) - read (11)
-
read
_ nonblock (11) - readchar (11)
- readline (11)
- readlines (11)
- readpartial (11)
- recipients (11)
-
renegotiation
_ cb (11) -
renegotiation
_ cb= (11) - reset (33)
- revoked (11)
- revoked= (11)
- rshift! (11)
- section (11)
- sections (11)
- seed (11)
- seed= (11)
- serial (55)
- serial= (22)
-
server
_ cert (11) -
servername
_ cb (11) -
servername
_ cb= (11) - session (11)
- session= (11)
-
session
_ add (11) -
session
_ cache _ mode (11) -
session
_ cache _ mode= (11) -
session
_ cache _ size (11) -
session
_ cache _ size= (11) -
session
_ cache _ stats (11) -
session
_ get _ cb (11) -
session
_ get _ cb= (11) -
session
_ id _ context (11) -
session
_ id _ context= (11) -
session
_ new _ cb (11) -
session
_ new _ cb= (11) -
session
_ remove (11) -
session
_ remove _ cb (11) -
session
_ remove _ cb= (11) -
session
_ reused? (11) -
set
_ bit! (11) -
set
_ default (11) -
set
_ default _ paths (11) -
set
_ generator (11) -
set
_ params (11) -
set
_ to _ infinity! (11) - setsockopt (11)
-
short
_ name (11) - shutdown (11)
- sign (77)
-
signature
_ algorithm (33) -
signed
_ time (11) - signers (11)
- sn (11)
- sqr (11)
-
ssl
_ context (11) -
ssl
_ timeout (22) -
ssl
_ timeout= (22) -
ssl
_ version= (22) -
start
_ immediately (11) -
start
_ immediately= (11) - starttls (22)
- state (11)
- status (22)
-
status
_ string (11) - subject (22)
- subject= (22)
-
subject
_ certificate (11) -
subject
_ certificate= (11) -
subject
_ request (11) -
subject
_ request= (11) - sync (11)
- sync= (11)
-
sync
_ close (11) -
sync
_ close= (11) - sysclose (11)
- sysread (11)
- syssign (11)
- sysverify (11)
- syswrite (11)
- tag (11)
- tag= (11)
-
tag
_ class (11) -
tag
_ class= (11) - tagging (22)
- tagging= (22)
- time (22)
- time= (44)
- timeout (22)
- timeout= (22)
-
tmp
_ dh _ callback (11) -
tmp
_ dh _ callback= (11) -
to
_ a (22) -
to
_ bn (33) -
to
_ der (198) -
to
_ h (11) -
to
_ i (11) -
to
_ int (11) -
to
_ io (22) -
to
_ pem (143) -
to
_ s (165) -
to
_ text (110) - trust= (22)
- type (11)
- type= (11)
- ucmp (11)
- ungetc (11)
- update (33)
-
use
_ ssl? (11) - value (55)
- value= (33)
- verify (121)
-
verify
_ callback (33) -
verify
_ callback= (33) -
verify
_ depth (22) -
verify
_ depth= (22) -
verify
_ mode (11) -
verify
_ mode= (22) -
verify
_ result (11) - version (33)
- version= (33)
- write (11)
-
write
_ nonblock (11) - zero? (11)
検索結果
先頭5件
- OpenSSL
:: OCSP :: BasicResponse # status -> [[OpenSSL :: OCSP :: CertificateId , Integer , Integer , Time|nil , Time , Time|nil , [OpenSSL :: X509 :: Extension]]] - OpenSSL
:: BN # / (other) -> [OpenSSL :: BN , OpenSSL :: BN] - OpenSSL
:: SSL :: SSLContext # client _ ca -> [OpenSSL :: X509 :: Certificate] | OpenSSL :: X509 :: Certificate | nil - OpenSSL
:: PKey :: RSA # params -> {String => OpenSSL :: BN} - OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension
-
OpenSSL
:: OCSP :: BasicResponse # status -> [[OpenSSL :: OCSP :: CertificateId , Integer , Integer , Time|nil , Time , Time|nil , [OpenSSL :: X509 :: Extension]]] (11293.0) -
証明書の状態の問い合わせの結果を返します。
...値を取ります
* OpenSSL::OCSP::V_CERTSTATUS_GOOD 正常
* OpenSSL::OCSP::V_CERTSTATUS_REVOKED 失効
* OpenSSL::OCSP::V_CERTSTATUS_UNKNOWN 不明
失効理由コードは以下のいずれかを返します。
* OpenSSL::OCSP::REVOKED_STATUS_NOSTATUS
* OpenSSL::OCSP::REVOKED_STATUS_......TUS_KEYCOMPROMISE
* OpenSSL::OCSP::REVOKED_STATUS_CACOMPROMISE
* OpenSSL::OCSP::REVOKED_STATUS_AFFILIATIONCHANGED
* OpenSSL::OCSP::REVOKED_STATUS_SUPERSEDED
* OpenSSL::OCSP::REVOKED_STATUS_CESSATIONOFOPERATION
* OpenSSL::OCSP::REVOKED_STATUS_CERTIFICATEHOLD
* OpenSSL::OCSP::REVOKED_STATU......を返します。
拡張領域には、OpenSSL::X509::Extension の配列が渡されます。
結果をどのように解釈すべきか、より詳しくは 2560 や X.509 を見てください。
例:
res.basic.status
# => [
# [#<OpenSSL::OCSP::CertificateId:0x00000000e3c290>, #... -
OpenSSL
:: BN # / (other) -> [OpenSSL :: BN , OpenSSL :: BN] (11215.0) -
自身を other で割った商と余りを配列で返します。
...自身を other で割った商と余りを配列で返します。
@param other 除数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_inverse... -
OpenSSL
:: SSL :: SSLContext # client _ ca -> [OpenSSL :: X509 :: Certificate] | OpenSSL :: X509 :: Certificate | nil (11209.0) -
クライアント証明書を要求する時にクライアントに送る CA のリスト を返します。
...クライアント証明書を要求する時にクライアントに送る CA のリスト
を返します。
@see OpenSSL::SSL::SSLContext#client_ca=... -
OpenSSL
:: PKey :: RSA # params -> {String => OpenSSL :: BN} (11156.0) -
鍵のパラメータ(OpenSSL::PKey::RSA#e,OpenSSL::PKey::RSA#n, OpenSSL::PKey::RSA#dなど)を{パラメータ名文字列 => パラメータ値} というハッシュで返します。
...鍵のパラメータ(OpenSSL::PKey::RSA#e,OpenSSL::PKey::RSA#n,
OpenSSL::PKey::RSA#dなど)を{パラメータ名文字列 => パラメータ値}
というハッシュで返します。
鍵が公開鍵の場合、OpenSSL::PKey::RSA#d
のように公開鍵が持っていない値は 0 になりま... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(obj) -> OpenSSL :: X509 :: Extension (11143.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
...OpenSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_fr......om_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL::X509::ExtensionFactory#create_ext が呼びだされて
オブジェクトを生成します。
@param obj... -
OpenSSL
:: X509 :: ExtensionFactory # create _ extension(oid , value , critical=false) -> OpenSSL :: X509 :: Extension (11143.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
...OpenSSL::X509::Extension のインスタンスを生成して返します。
引数の個数が1個である場合、それが配列、ハッシュ、文字列のいずれかである
ならば、
OpenSSL::X509::ExtensionFactory#create_ext_from_array、
OpenSSL::X509::ExtensionFactory#create_ext_fr......om_hash、
OpenSSL::X509::ExtensionFactory#create_ext_from_string、
がそれぞれ呼びだされてオブジェクトを生成します。
引数が2個以上である場合は、
OpenSSL::X509::ExtensionFactory#create_ext が呼びだされて
オブジェクトを生成します。
@param obj... -
OpenSSL
:: X509 :: Certificate # public _ key -> OpenSSL :: PKey :: PKey (11138.0) -
証明書に記載された公開鍵を返します。
...クラスのインスタンスを返します。
* OpenSSL::PKey::RSA
* OpenSSL::PKey::DSA
* OpenSSL::PKey::DH
* OpenSSL::PKey::EC
@raise OpenSSL::X509::CertificateError 鍵の取得に失敗した場合に発生します
@raise OpenSSL::PKey::PKeyError サポートしていない種類の... -
OpenSSL
:: SSL :: SSLSocket # peer _ cert _ chain -> [OpenSSL :: X509 :: Certificate] | nil (11136.0) -
接続相手の証明書チェインを OpenSSL::X509::Certificate オブジェクト の配列で返します。
...接続相手の証明書チェインを OpenSSL::X509::Certificate オブジェクト
の配列で返します。
OpenSSL::SSL::SSLSocket#connect や OpenSSL::SSL::SSLSocket#accept
で SSL/TLS ハンドシェイクを行う前にこのメソッドを呼ぶと nil を返します。
以下の順......の配列を返します。
[接続相手の証明書, 下位CAの証明書,... 中間CAの証明書]
ルート CA の証明書は含まれないことに注意してください。
@see OpenSSL::SSL::SSLSocket#peer_cert... -
OpenSSL
:: BN # >>(other) -> OpenSSL :: BN (11132.0) -
自身を other ビット右シフトした値を返します。
...自身を other ビット右シフトした値を返します。
//emlist[][ruby]{
require 'openssl'
bn = 2.to_bn
bn >> 1 # => #<OpenSSL::BN 1>
bn # => #<OpenSSL::BN 2>
//}
@param other シフトするビット数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#rshift!... -
OpenSSL
:: BN # mod _ add(other , m) -> OpenSSL :: BN (11132.0) -
(self + other) % m を返します。
...(self + other) % m を返します。
//emlist[][ruby]{
require 'openssl'
OpenSSL::BN.new("7").mod_add(OpenSSL::BN.new("3"), OpenSSL::BN.new("6")) # => 4
//}
@param other 和を取る数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー...