Performs a certificate verification on the OpenSSL::X509::Certificate
cert
.
chain
can be an array of OpenSSL::X509::Certificate
that is used to construct the certificate chain.
If a block is given, it overrides the callback set by verify_callback=
.
After finishing the verification, the error information can be retrieved by error
, error_string
, and the resuting complete certificate chain can be retrieved by chain
.
Restore session state from the session’s FileStore
file.
Returns the session state as a hash.
Restore (empty) session state.
Restore session state from the session’s PStore
file.
Returns the session state as a hash.
Returns true
if the listing commands, LIST, NLST, and MLSD are applied to the directory.
Returns true
if the STOR command may be applied to the file.
Determines whether the response received was a Positive Intermediate reply (3xx reply code)
Writes the node to some output.
The node to write
A class implementing <<
. Pass in an Output
object to change the output encoding.
Content: [ String text ]