pub fn deserialize_compact_with_selector<'a, F>(
    input: &str,
    selector: F,
) -> Result<(Vec<u8>, JweHeader), JoseError>
where
    F: Fn(&JweHeader) -> Result<Option<&'a dyn JweDecrypter>, JoseError>,
{
    DEFAULT_CONTEXT.deserialize_compact_with_selector(input, selector)
}
/// Deserialize the input that is formatted by compact serialization.
///
/// # Arguments
///
/// * `input` - The input data.
/// * `selector` - a function for selecting the decrypting algorithm.
Deserialize the input that is formatted by compact serialization.
Deserialize the input that is formatted by compact serialization .
pub fn deserialize_compact_with_selector<'a, F>(
    input: &str,
    selector: F,
) -> Result<(Vec<u8>, JweHeader), JoseError>
where
    F: Fn(&JweHeader) -> Result<Option<&'a dyn JweDecrypter>, JoseError>,
{
    DEFAULT_CONTEXT.deserialize_compact_with_selector(input, selector)
}
pub fn deserialize_compact_with_selector < ' a , F > ( input : & str , selector : F , ) -> Result < ( Vec < u8 > , JweHeader ) , JoseError > where F : Fn ( & JweHeader ) -> Result < Option < & ' a dyn JweDecrypter > , JoseError > , { DEFAULT_CONTEXT . deserialize_compact_with_selector ( input , selector ) }
Deserialize the input that is formatted by compact serialization.
Deserialize the input that is formatted by compact serialization .
input
&str
selector
F
input
&str
selector
F