Function josekit::jwe::deserialize_json[][src]

pub fn deserialize_json<'a>(
    input: &str,
    decrypter: &'a dyn JweDecrypter
) -> Result<(Vec<u8>, JweHeader), JoseError>
Expand description

Deserialize the input that is formatted by flattened json serialization.

Arguments

  • input - The input data.
  • header - The decoded JWS header claims.
  • decrypter - The JWE decrypter.