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.
Encodes this DH
to its PEM encoding. Note that any existing per-session public/private keys will not get encoded, just the Diffie-Hellman parameters will be encoded.
Encodes this DH
to its PEM encoding. Note that any existing per-session public/private keys will not get encoded, just the Diffie-Hellman parameters will be encoded.
Reads length
bytes from the SSL
connection. If a pre-allocated buffer
is provided the data will be written into it.
A description of the current connection state.
See TCPServer#listen
for details.
Returns this name as a Distinguished Name
string. flags
may be one of:
Returns an Array representation of the distinguished name suitable for passing to ::new
Returns the PEM encoding of this SPKI
.
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.
Encodes this DSA
to its PEM encoding.
cipher
is an OpenSSL::Cipher
.
password
is a string containing your password.
DSA.to_pem -> aString DSA.to_pem(cipher, 'mypassword') -> aString
Encodes this DSA
to its PEM encoding.
cipher
is an OpenSSL::Cipher
.
password
is a string containing your password.
DSA.to_pem -> aString DSA.to_pem(cipher, 'mypassword') -> aString
Outputs the EC
key in PEM encoding. If cipher
and pass_phrase
are given they will be used to encrypt the key. cipher
must be an OpenSSL::Cipher::Cipher
instance. Note that encryption will only be effective for a private key, public keys will always be encoded in plain text.
Outputs this keypair in PEM encoding. If cipher
and pass_phrase
are given they will be used to encrypt the key. cipher
must be an OpenSSL::Cipher::Cipher
instance.
Outputs this keypair in PEM encoding. If cipher
and pass_phrase
are given they will be used to encrypt the key. cipher
must be an OpenSSL::Cipher::Cipher
instance.