pub trait KeyPair: Sized { fn sign(&self, message: &[u8]) -> Signature; }
A cryptographic key pair for digitally signing data.
Signs a JSON object.