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.
This should be superseded by BasicResponse#responses
and find_response
that return SingleResponse
.
Returns an Array of SingleResponse
for this BasicResponse
.
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
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
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
instance.