type
KeyPair
const mixin KeyPair
A KeyPair contains a private key
and its corresponding public key
in an asymmetric key pair.
methods
algorithm |
Get the key pair algorithm |
---|---|
priv |
The private key for this pair. |
pub |
The public key for this pair. |
Slot Details
algorithm
virtual Str algorithm()
Get the key pair algorithm
priv
abstract PrivKey priv()
The private key for this pair.
pub
abstract PubKey pub()
The public key for this pair.