種類
- インスタンスメソッド (120)
- クラス (24)
- ライブラリ (12)
ライブラリ
- openssl (144)
クラス
-
OpenSSL
:: Netscape :: SPKI (12) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: PKey :: RSA (12) -
OpenSSL
:: SSL :: Session (12) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Request (12)
検索結果
先頭5件
-
OpenSSL
:: X509 :: Certificate # to _ text -> String (18101.0) -
人間が読める形式の文字列を返します。
人間が読める形式の文字列を返します。 -
OpenSSL
:: X509 :: Request # to _ text -> String (18101.0) -
人間が読める形式の文字列に変換して返します。
人間が読める形式の文字列に変換して返します。
@raise OpenSSL::X509::RequestError 変換に失敗した場合に発生します -
OpenSSL
:: PKey :: RSA (6.0) -
RSA 暗号鍵のクラスです。
...::RSA.generate, OpenSSL::PKey::RSA.new,
OpenSSL::PKey::RSA#public?, OpenSSL::PKey::RSA#private?,
OpenSSL::PKey::RSA#public_key, OpenSSL::PKey::RSA#to_text,
OpenSSL::PKey::RSA#to_pem, OpenSSL::PKey::RSA#to_der
のいずれかでしょう。これ以外のメソッドを利用するときは
RSA に... -
OpenSSL
:: SSL :: SSLSocket (6.0) -
ソケットをラップして SSL での認証と暗号通信を実現するためのクラスです。
...de OpenSSL
soc = TCPSocket.new('www.example.com', 443)
ssl = SSL::SSLSocket.new(soc)
ssl.connect
ssl.post_connection_check('www.example.com')
raise "verification error" if ssl.verify_result != OpenSSL::X509::V_OK
ssl.write('hoge')
print ssl.peer_cert.to_text
ssl.close
soc.close... -
openssl (6.0)
-
OpenSSL(https://www.openssl.org/) を Ruby から扱うためのライブラリです。
...ial = 1
cer.issuer = issu
cer.subject = sub
cer.sign(key, digest) # <= 署名するのに使う秘密鍵とハッシュ関数
print cer.to_text
===[a:references] 参考文献
* 5246
* Eric Rescorla. SSL and TLS : Designing and Building Secure Systems.
邦訳, Eric Rescorla 著...