pub trait VerifierKey:
'static
+ Sync
+ Send {
// Required methods
fn id(&self) -> String;
fn algorithm(&self) -> String;
fn verify(&self, target: &[u8], sig: &[u8]) -> Result<(), VerificationError>;
}Required Methods§
fn id(&self) -> String
fn algorithm(&self) -> String
fn verify(&self, target: &[u8], sig: &[u8]) -> Result<(), VerificationError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".