const mixin crypto::KeyPair

crypto::KeyPair

Source

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

algorithm

virtual Str algorithm()

Source

Get the key pair algorithm

priv

abstract PrivKey priv()

Source

The private key for this pair.

pub

abstract PubKey pub()

Source

The public key for this pair.