pub fn decode_with_decrypter_in_jwk_set<F>(
    input: impl AsRef<[u8]>,
    jwk_set: &JwkSet,
    selector: F,
) -> Result<(JwtPayload, JweHeader), JoseError>
where
    F: Fn(&Jwk) -> Result<Option<&dyn JweDecrypter>, JoseError>,
{
    DEFAULT_CONTEXT.decode_with_decrypter_in_jwk_set(input, jwk_set, selector)
}
/// Return the JWT object decoded by using a JWK set.
///
/// # Arguments
///
/// * `input` - a JWT string representation.
/// * `jwk_set` - a JWK set.
/// * `selector` - a function for selecting the decrypting algorithm.
Return the JWT object decoded by using a JWK set.
Return the JWT object decoded by using a JWK set .
pub fn decode_with_decrypter_in_jwk_set<F>(
    input: impl AsRef<[u8]>,
    jwk_set: &JwkSet,
    selector: F,
) -> Result<(JwtPayload, JweHeader), JoseError>
where
    F: Fn(&Jwk) -> Result<Option<&dyn JweDecrypter>, JoseError>,
{
    DEFAULT_CONTEXT.decode_with_decrypter_in_jwk_set(input, jwk_set, selector)
}
pub fn decode_with_decrypter_in_jwk_set < F > ( input : impl AsRef < [ u8 ] > , jwk_set : & JwkSet , selector : F , ) -> Result < ( JwtPayload , JweHeader ) , JoseError > where F : Fn ( & Jwk ) -> Result < Option < & dyn JweDecrypter > , JoseError > , { DEFAULT_CONTEXT . decode_with_decrypter_in_jwk_set ( input , jwk_set , selector ) }
Return the JWT object decoded by using a JWK set.
Return the JWT object decoded by using a JWK set .
input
impl AsRef<[u8]>
jwk_set
&JwkSet
selector
F
input
impl AsRef<[u8]>
jwk_set
&JwkSet
selector
F