pub trait VerifyingKey {
// Required methods
fn verify(&self, data: &[u8], signature: &[u8]) -> Result<(), HttpSigError>;
fn key_id(&self) -> String;
fn alg(&self) -> AlgorithmName;
}Expand description
VerifyingKey trait
Required Methods§
fn verify(&self, data: &[u8], signature: &[u8]) -> Result<(), HttpSigError>
fn key_id(&self) -> String
fn alg(&self) -> AlgorithmName
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".