Determines whether the given ‘requirement` is satisfied by the given `spec`, in the context of the current `activated` dependency graph.
@param [Object] requirement @param [DependencyGraph] activated the current dependency graph in the
resolution process.
@param [Object] spec @return [Boolean] whether ‘requirement` is satisfied by `spec` in the
context of the current `activated` dependency graph.
Creates a new DH
instance from scratch by generating the private and public components alike.
size
is an integer representing the desired key size. Keys smaller than 1024 bits should be considered insecure.
generator
is a small number > 1, typically 2 or 5.
Indicates whether this DH
instance has a private key associated with it or not. The private key may be retrieved with DH#priv_key.
A description of the current connection state.
Creates an OpenSSL::OCSP::Response
from status
and basic_response
.
Returns the status of the response.
Returns an Array of statuses for this response. Each status contains a CertificateId
, the status (0 for good, 1 for revoked, 2 for unknown), the reason for the status, the revocation time, the time of this update, the time for the next update and a list of OpenSSL::X509::Extensions.
Creates a new DSA
instance by generating a private/public key pair from scratch.
size
is an integer representing the desired key size.
Indicates whether this DSA
instance has a private key associated with it or not. The private key may be retrieved with DSA#private_key.
Generates an RSA
keypair. size
is an integer representing the desired key size. Keys smaller than 1024 should be considered insecure. exponent
is an odd number normally 3, 17, or 65537.
Does this keypair contain a private key?
Gets start time of the session.
Sets start time of the session. Time
resolution is in seconds.
Gets how long until the session expires in seconds.
Sets how long until the session expires in seconds.