pub fn deserialize_compact(
        &self,
        input: impl AsRef<[u8]>,
        verifier: &dyn JwsVerifier,
    ) -> Result<(Vec<u8>, JwsHeader), JoseError> {
        self.deserialize_compact_with_selector(input, |_header| Ok(Some(verifier)))
    }
/// Deserialize the input that is formatted by compact serialization.
///
/// # Arguments
///
/// * `input` - The input data.
/// * `header` - The decoded JWS header claims.
/// * `verifier` - The JWS verifier.
Deserialize the input that is formatted by compact serialization.
Deserialize the input that is formatted by compact serialization .
pub fn deserialize_compact(
        &self,
        input: impl AsRef<[u8]>,
        verifier: &dyn JwsVerifier,
    ) -> Result<(Vec<u8>, JwsHeader), JoseError> {
        self.deserialize_compact_with_selector(input, |_header| Ok(Some(verifier)))
    }
pub fn deserialize_compact ( & self , input : impl AsRef < [ u8 ] > , verifier : & dyn JwsVerifier , ) -> Result < ( Vec < u8 > , JwsHeader ) , JoseError > { self . deserialize_compact_with_selector ( input , | _header | Ok ( Some ( verifier ) ) ) }
Deserialize the input that is formatted by compact serialization.
Deserialize the input that is formatted by compact serialization .
&self
input
impl AsRef<[u8]>
verifier
&dyn JwsVerifier
&self
input
impl AsRef<[u8]>
verifier
&dyn JwsVerifier