const mixin crypto::KeyPair

crypto::KeyPair

A KeyPair contains a private key and its corresponding public key in an asymmetric key pair.

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.