pub trait PrivateKey { // Required methods fn sign(&self, msg: &[u8]) -> Result<Signature>; fn public(&self) -> &PublicKey; }
A structure containing information about a private key.
Sign a message.
Return the public component of the key.