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 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?
Iterate over each node in the tree. Yields each node to block
depth first.
Save session state to the session’s FileStore
file.
Save session state to the session’s PStore
file.
Returns true
if files may be created in the directory by STOU, STOR, APPE, and RNTO.
Returns true
if the file or directory may be renamed by RNFR.
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
Creates a new LOC::Coord
from arg
which may be:
LOC::Coord
returns arg
.
arg
must match the LOC::Coord::Regex constant
Creates a new LOC::Alt
from arg
which may be:
LOC::Alt
returns arg
.
arg
must match the LOC::Alt::Regex constant
Escapes all possible entities