pub trait SignerMut<S: Signature> {
// Required method
fn try_sign(&mut self, msg: &[u8]) -> Result<S, Error>;
// Provided method
fn sign(&mut self, msg: &[u8]) -> S { ... }
}
Expand description
Sign the provided message bytestring using &mut Self
(e.g., an evolving
cryptographic key), returning a digital signature.