Returns the default-handler, which is called when no handler for a method-name is found.
It is either a Proc
object or nil
.
Parses a Range
header value ranges_specifier
Parses a Range
header value ranges_specifier
Generates a private and public key unless a private key already exists. If this DH
instance was generated from public DH
parameters (e.g. by encoding the result of DH#public_key
), then this method needs to be called first in order to generate the per-session keys before performing the actual key exchange.
dh = OpenSSL::PKey::DH.new(2048) public_key = dh.public_key #contains no private/public key yet public_key.generate_key! puts public_key.private? # => true
The X509
certificate for this socket’s peer.
See the OpenSSL
documentation for EC_KEY_generate_key()