[][src]Module josekit::jws

JSON Web Signature (JWS) support.

Re-exports

pub use HmacJwsAlgorithm::Hs256 as HS256;
pub use HmacJwsAlgorithm::Hs384 as HS384;
pub use HmacJwsAlgorithm::Hs512 as HS512;
pub use RsassaJwsAlgorithm::Rs256 as RS256;
pub use RsassaJwsAlgorithm::Rs384 as RS384;
pub use RsassaJwsAlgorithm::Rs512 as RS512;
pub use RsassaPssJwsAlgorithm::Ps256 as PS256;
pub use RsassaPssJwsAlgorithm::Ps384 as PS384;
pub use RsassaPssJwsAlgorithm::Ps512 as PS512;
pub use EcdsaJwsAlgorithm::Es256 as ES256;
pub use EcdsaJwsAlgorithm::Es256k as ES256K;
pub use EcdsaJwsAlgorithm::Es384 as ES384;
pub use EcdsaJwsAlgorithm::Es512 as ES512;
pub use EddsaJwsAlgorithm::Eddsa as EdDSA;

Modules

alg

Structs

JwsContext
JwsHeader

Represent JWS header claims

JwsHeaderSet

Represent JWS protected and unprotected header claims

Traits

JwsAlgorithm
JwsSigner
JwsVerifier

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 json serialization.

deserialize_json_with_selector

Deserialize the input that is formatted by 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 general json serialization.

serialize_general_json_with_selecter

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