Sends “close notify” to the peer and tries to shut down the SSL
connection gracefully.
A description of the current connection state. This is for diagnostic purposes only.
Sets the Session
to be used when the connection is established.
Sets the server hostname used for SNI. This needs to be set before SSLSocket#connect
.
See TCPServer#listen
for details.
Sets the trust settings of the context. This overrides the default value set by Store#trust=
.
See also the man page X509_VERIFY_PARAM_set_trust(3).
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::Extension
.
This should be superseded by BasicResponse#responses
and find_response
that return SingleResponse
.
Returns a string describing the PKey
object.
Returns one of GRANTED
, GRANTED_WITH_MODS
, REJECTION
, WAITING
, REVOCATION_WARNING
or REVOCATION_NOTIFICATION
. A timestamp token has been created only in case status
is equal to GRANTED
or GRANTED_WITH_MODS
.
If the timestamp token is valid then this field contains the same nonce that was passed to the timestamp server in the initial Request
.
Sets the nonce (number used once) that the server shall include in its response. If the nonce is set, the server must return the same nonce value in a valid Response
.
Returns the nonce (number used once) that the server shall include in its response.
Sets the default trust settings used by the certificate verification with the store.
OpenSSL::X509::StoreContext#trust=
can be used to change the value for a single verification operation.
See also the man page X509_VERIFY_PARAM_set_trust(3).
The location of the token in the source.
The state of the lexer when this token was produced.
Get the number of SvcParams
in this list.
Explanation of the conflict used by exceptions to print useful messages