pub trait SignerMut<S> {
// 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 such as a stateful hash-based signature), returning a
digital signature.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".