accessing
accessing
Indicates whether this DH
instance has a private key associated with it or not. The private key may be retrieved with DH#priv_key.
Indicates whether this DSA
instance has a private key associated with it or not. The private key may be retrieved with DSA#private_key.
Returns the EC::Group
that the key is associated with. Modifying the returned group does not affect key.
Sets the EC::Group
for the key. The group structure is internally copied so modification to group after assigning to a key has no effect on the key.
Returns whether this EC
instance has a private key. The private key (BN
) can be retrieved with EC#private_key
.
Does this keypair contain a private key?
Returns the root node. A Document
may only have one root node: yaml.org/spec/1.1/#id898031