Trait detached_jws::Verify[][src]

pub trait Verify: Write {
    fn verify(&self, signature: &[u8]) -> Result<bool>;

    fn verify_jws_detached(
        self,
        jws: &impl AsRef<[u8]>,
        payload: &mut impl Read
    ) -> Result<JwsHeader>
    where
        Self: Sized
, { ... } }

A signature verifier

Required methods

fn verify(&self, signature: &[u8]) -> Result<bool>[src]

Loading content...

Provided methods

fn verify_jws_detached(
    self,
    jws: &impl AsRef<[u8]>,
    payload: &mut impl Read
) -> Result<JwsHeader> where
    Self: Sized
[src]

Loading content...

Implementations on Foreign Types

impl<'a> Verify for Verifier<'a>[src]

Loading content...

Implementors

Loading content...