[−][src]Trait jwt::token::verified::VerifyWithKey
Allow objects to be verified with a key.
Required methods
fn verify_with_key(self, key: &dyn VerifyingAlgorithm) -> Result<T, Error>
Implementations on Foreign Types
impl<'a, H, C> VerifyWithKey<Token<H, C, Verified>> for &'a str where
H: FromBase64 + JoseHeader,
C: FromBase64,
[src]
H: FromBase64 + JoseHeader,
C: FromBase64,
fn verify_with_key(
self,
key: &dyn VerifyingAlgorithm
) -> Result<Token<H, C, Verified>, Error>
[src]
self,
key: &dyn VerifyingAlgorithm
) -> Result<Token<H, C, Verified>, Error>
impl<'a, C: FromBase64> VerifyWithKey<C> for &'a str
[src]
fn verify_with_key(self, key: &dyn VerifyingAlgorithm) -> Result<C, Error>
[src]
Implementors
impl<'a, H: JoseHeader, C> VerifyWithKey<Token<H, C, Verified>> for Token<H, C, Unverified<'a>>
[src]
fn verify_with_key(
self,
key: &dyn VerifyingAlgorithm
) -> Result<Token<H, C, Verified>, Error>
[src]
self,
key: &dyn VerifyingAlgorithm
) -> Result<Token<H, C, Verified>, Error>