[][src]Module josekit::jwe

JSON Web Encryption (JWE) support.

Re-exports

pub use crate::jwe::alg::direct::DirectJweAlgorithm::Dir;
pub use EcdhEsJweAlgorithm::EcdhEs as ECDH_ES;
pub use EcdhEsJweAlgorithm::EcdhEsA128kw as ECDH_ES_A128KW;
pub use EcdhEsJweAlgorithm::EcdhEsA192kw as ECDH_ES_A192KW;
pub use EcdhEsJweAlgorithm::EcdhEsA256kw as ECDH_ES_A256KW;
pub use AeskwJweAlgorithm::A128kw as A128KW;
pub use AeskwJweAlgorithm::A192kw as A192KW;
pub use AeskwJweAlgorithm::A256kw as A256KW;
pub use AesgcmkwJweAlgorithm::A128gcmkw as A128GCMKW;
pub use AesgcmkwJweAlgorithm::A192gcmkw as A192GCMKW;
pub use AesgcmkwJweAlgorithm::A256gcmkw as A256GCMKW;
pub use Pbes2HmacAeskwJweAlgorithm::Pbes2Hs256A128kw as PBES2_HS256_A128KW;
pub use Pbes2HmacAeskwJweAlgorithm::Pbes2Hs384A192kw as PBES2_HS384_A192KW;
pub use Pbes2HmacAeskwJweAlgorithm::Pbes2Hs512A256kw as PBES2_HS512_A256KW;
pub use RsaesJweAlgorithm::Rsa1_5 as RSA1_5;
pub use RsaesJweAlgorithm::RsaOaep as RSA_OAEP;
pub use RsaesJweAlgorithm::RsaOaep256 as RSA_OAEP_256;
pub use RsaesJweAlgorithm::RsaOaep384 as RSA_OAEP_384;
pub use RsaesJweAlgorithm::RsaOaep512 as RSA_OAEP_512;

Modules

alg
enc
zip

Structs

JweContext
JweHeader

Represent JWE header claims

JweHeaderSet

Represent JWE protected and unprotected header claims

Traits

JweAlgorithm

Represent a algorithm of JWE alg header claim.

JweCompression

Represent a algorithm of JWE zip header claim.

JweContentEncryption

Represent a algorithm of JWE enc header claim.

JweDecrypter
JweEncrypter

Functions

deserialize_compact

Deserialize the input that is formatted by compact serialization.

deserialize_compact_with_selector

Deserialize the input that is formatted by compact serialization.

deserialize_json

Deserialize the input that is formatted by flattened json serialization.

deserialize_json_with_selector

Deserialize the input that is formatted by flattened json serialization.

serialize_compact

Return a representation of the data that is formatted by compact serialization.

serialize_compact_with_selector

Return a representation of the data that is formatted by compact serialization.

serialize_flattened_json

Return a representation of the data that is formatted by flattened json serialization.

serialize_flattened_json_with_selector

Return a representation of the data that is formatted by flatted json serialization.

serialize_general_json

Return a representation of the data that is formatted by flattened json serialization.

serialize_general_json_with_selector

Return a representation of the data that is formatted by flattened json serialization.