pub trait SignatureVerify {
type Error: ResponseError;
type Future: Future<Output = Result<bool, Self::Error>>;
// Required method
fn signature_verify(
&mut self,
algorithm: Option<Algorithm>,
key_id: String,
signature: String,
signing_string: String,
) -> Self::Future;
}
Expand description
A trait for verifying signatures
Required Associated Types§
Sourcetype Error: ResponseError
type Error: ResponseError
An error produced while attempting to verify the signature. This can be anything implementing ResponseError