pub trait VerifyingKey: Sealed {
type Signature: Signature;
const KEY_SIZE: usize;
// Required methods
fn from_bytes(bytes: &[u8]) -> Result<Self, Error>
where Self: Sized;
fn verify(
&self,
message: &[u8],
signature: &Self::Signature,
) -> Result<(), Error>;
}Expand description
Wrapper trait for emassy-crypto verifying keys
Required Associated Constants§
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".