pub fn decode_with_decrypter(
        &self,
        input: impl AsRef<[u8]>,
        decrypter: &dyn JweDecrypter,
    ) -> Result<(JwtPayload, JweHeader), JoseError> {
        self.decode_with_decrypter_selector(input, |_header| Ok(Some(decrypter)))
    }
/// Return the JWT object decoded by the selected decrypter.
///
/// # Arguments
///
/// * `input` - a JWT string representation.
/// * `decrypter` - a decrypter of the decrypting algorithm.
Return the JWT object decoded by the selected decrypter.
Return the JWT object decoded by the selected decrypter .
pub fn decode_with_decrypter(
        &self,
        input: impl AsRef<[u8]>,
        decrypter: &dyn JweDecrypter,
    ) -> Result<(JwtPayload, JweHeader), JoseError> {
        self.decode_with_decrypter_selector(input, |_header| Ok(Some(decrypter)))
    }
pub fn decode_with_decrypter ( & self , input : impl AsRef < [ u8 ] > , decrypter : & dyn JweDecrypter , ) -> Result < ( JwtPayload , JweHeader ) , JoseError > { self . decode_with_decrypter_selector ( input , | _header | Ok ( Some ( decrypter ) ) ) }
Return the JWT object decoded by the selected decrypter.
Return the JWT object decoded by the selected decrypter .
&self
input
impl AsRef<[u8]>
decrypter
&dyn JweDecrypter
&self
input
impl AsRef<[u8]>
decrypter
&dyn JweDecrypter