- Index
- »
- fan.crypto
- »
- KeyPair
KeyPair
const mixin KeyPair
A KeyPair contains a private key and its corresponding public key in an asymmetric key pair.
The private key for this pair
The public key for this pair
Get the key pair algorithm
virtual Str algorithm()
Get the key pair algorithm
abstract PrivKey priv()
The private key for this pair.
abstract PubKey pub()
The public key for this pair.