pub trait KeyPair: Sized {
// Required method
fn sign(&self, message: &[u8]) -> Signature;
}Expand description
A cryptographic key pair for digitally signing data.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".