るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.105秒)

別のキーワード

  1. sslcontext new
  2. sslcontext ciphers=
  3. sslcontext cert=
  4. sslcontext ciphers
  5. sslcontext cert

ライブラリ

検索結果

OpenSSL::SSL::SSLServer (18013.0)

SSL サーバーのためのクラス。

...et'
require 'openssl'

include OpenSSL

ctx = SSL::SSLContext.new()
ctx.cert = X509::Certificate.new(File.read('cert.pem'))
ctx.key = PKey::RSA.new(File.read('privkey.pem'))
svr = TCPServer.new(2007)
serv = SSL::SSLServer.new(svr, ctx)

loop do
while soc = serv.accept...

OpenSSL::SSL::SSLContext (18007.0)

SSL コンテキストクラス。

...SSL コンテキストクラス。

SSL コネクション(OpenSSL::SSL::SSLSocket や OpenSSL::SSL::SSLServer)
オブジェクトを生成するためのファクトリクラスです。
コネクションを生成するために必要なパラメータ(プロトコルのバージョン、
証明...