Removes a possibility from ‘self` @return [PossibilityState] a state with a single possibility,
the possibility that was removed from `self`
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.
Creates an OpenSSL::OCSP::Response
from status
and basic_response
.
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.
Creates a new EC
instance with a new random private and public key.
Returns whether this EC
instance has a private key. The private key (BN
) can be retrieved with EC#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?
Returns true
if the APPE command may be applied to the file.
Returns true
if the file or directory may be deleted by DELE/RMD.
Returns true
if the listing commands, LIST, NLST, and MLSD are applied to the directory.
Returns true
if the RETR command may be applied to the file.
Returns true
if the STOR command may be applied to the file.
Creates a new DNS
name from arg
. arg
can be:
Creates a new LOC::Size
from arg
which may be:
LOC::Size
returns arg
.
arg
must match the LOC::Size::Regex constant