pub trait VerifierKey:
'static
+ Sync
+ Send {
const ALGORITHM: &'static str;
// Required methods
fn key_id(&self) -> String;
fn verify(
&self,
target: &[u8],
signature: &[u8],
) -> Result<(), VerificationError>;
}Required Associated Constants§
Required Methods§
fn key_id(&self) -> String
fn verify( &self, target: &[u8], signature: &[u8], ) -> Result<(), VerificationError>
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.