pub trait Recover: Sealed {
type Public;
// Required methods
fn recover_prehashed(&self, message: &[u8; 32]) -> Option<Self::Public>;
fn recover<M: AsRef<[u8]>>(&self, message: M) -> Option<Self::Public>;
}Expand description
A signature that allows recovering the public key from a message.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.