るりまサーチ

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

別のキーワード

  1. _builtin ==
  2. openssl ==
  3. rexml/document ==
  4. matrix ==
  5. == _builtin

検索結果

<< 1 2 > >>

OpenSSL::BN#==(other) -> bool (18102.0)

自身と other が等しい場合に true を返します。

自身と other が等しい場合に true を返します。

@param other 比較する数

OpenSSL::PKey::EC::Group#==(other) -> bool (18102.0)

自身が other と等しいときは true を返します。

...自身が other と等しいときは true を返します。

@param other 比較対象の OpenSSL::PKey::EC::Group オブジェクト...

OpenSSL::PKey::EC::Point#==(other) -> bool (18102.0)

自身が other と等しいならば true を返します。

...自身が other と等しいならば true を返します。

@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します...

OpenSSL::SSL::Session#==(other) -> bool (18102.0)

otherと自身が同一のセッションであれば真を返します。

otherと自身が同一のセッションであれば真を返します。

OpenSSL::BN#===(other) -> bool (9202.0)

自身と other が等しい場合に true を返します。

自身と other が等しい場合に true を返します。

@param other 比較する数

絞り込み条件を変える

OpenSSL::BN#eql?(other) -> bool (3002.0)

自身と other が等しい場合に true を返します。

自身と other が等しい場合に true を返します。

@param other 比較する数

OpenSSL::PKey::EC::Group#eql?(other) -> bool (3002.0)

自身が other と等しいときは true を返します。

...自身が other と等しいときは true を返します。

@param other 比較対象の OpenSSL::PKey::EC::Group オブジェクト...

OpenSSL::PKey::EC::Point#eql?(other) -> bool (3002.0)

自身が other と等しいならば true を返します。

...自身が other と等しいならば true を返します。

@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します...

OpenSSL::OCSP (14.0)

OCSP(Online Certificate Status Protocol)を取り扱うための モジュールです。OCSP は 2560 で定義されています。

...りません。ユーザが例えば
OCSP over http などを実装する必要があります。

==
= 例
OCSP レスポンダにリクエストを送ってその返答を表示する
require 'openssl'
require 'net/http'
# ...
subject # 問い合わせ対象の証明書(Certificate オブ...
...bject の発行者の証明書(Certificate オブジェクト)
store # 信頼している証明書ストア
cid = OpenSSL::OCSP::CertificateId.new(subject, issuer)
req = OpenSSL::OCSP::Request.new
req.add_certid(cid)
req.add_nonce

http = Net::HTTP.new('ocsp.example.com', 80)
httpres...
...pplication/ocsp-request')
raise "HTTP error" if !httpres.kind_of?(Net::HTTPOK)
res = OpenSSL::OCSP::Response.new(httpres.body)

puts "Response status: #{res.status_string}"
exit if res.status != OpenSSL::OCSP::RESPONSE_STATUS_SUCCESSFUL

basic_resp = res.basic
raise "nonce error" unles...

OpenSSL::BN#mod_inverse(m) -> OpenSSL::BN (8.0)

自身の mod m における逆元を返します。

...す。

(self * r) % m == 1 となる r を返します。
存在しない場合は例外 OpenSSL::BNError が発生します。

//emlist[][ruby]{
require 'openssl'

p 3.to_bn.mod_inverse(5) # => 2
p (3 * 2) % 5 # => 1
//}

@param m mod を取る数
@raise OpenSSL::BNError 計算時エ...

絞り込み条件を変える

<< 1 2 > >>