pub trait VerifyWithKey<T> {
    // Required method
    fn verify_with_key(self, key: &impl VerifyingAlgorithm) -> Result<T, Error>;
}
Expand description

Allow objects to be verified with a key.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, C: FromBase64> VerifyWithKey<C> for &'a str

source§

impl<'a, H, C> VerifyWithKey<Token<H, C, Verified>> for &'a str

Implementors§

source§

impl<'a, H: JoseHeader, C> VerifyWithKey<Token<H, C, Verified>> for Token<H, C, Unverified<'a>>