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
pub trait VerifyingKey {
// Required methods
fn verify(&self, data: &[u8], signature: &[u8]) -> Result<(), HttpSigError>;
fn key_id(&self) -> String;
fn alg(&self) -> AlgorithmName;
}VerifyingKey trait