Module jws

Source
Expand description

Reexport of identity_jose::jwk.

Structs§

CompactJwsEncoder
A JWS encoder supporting the Compact JWS serialization format.
DecodedJws
A cryptographically verified decoded token from a JWS.
Decoder
The Decoder is responsible for decoding a JWS into one or more JwsValidationItems.
FlattenedJwsEncoder
An encoder supporting the Flattened JWS JSON Serialiazion format.
GeneralJwsEncoder
An encoder for the General JWS JSON Serialization format.
JwsHeader
JSON Web Signature JOSE Header.
JwsValidationItem
A partially decoded JWS containing claims, and the decoded verification data for its corresponding signature (headers, signing input and signature). This data can be cryptographically verified using a JwsVerifier. See Self::verify.
JwsValidationIter
An iterator over the JwsValidationItems corresponding to the signatures in a JWS encoded with the general JWS JSON serialization format.
JwsVerifierFn
Simple wrapper around a closure capable of verifying a JWS signature. This wrapper implements JwsVerifier.
Recipient
The recipient of a JWS.
VerificationInput
Input a JwsVerifier verifies.

Enums§

CharSet
The requirements towards the character set when encoding a JWS.
CompactJwsEncodingOptions
Options determining whether the payload is detached and if not which additional requirements the payload must satisfy.
JwsAlgorithm
Supported algorithms for the JSON Web Signatures alg claim.
JwsFormat
The serialization format used for the JWS.
SignatureVerificationErrorKind
The cause of a failed jws signature verification.

Traits§

JwsVerifier
Trait for cryptographically verifying a JWS signature.

Type Aliases§

RecipientProcessingEncoder
A General JWS Encoder that is currently processing the latest Recipient.
SignatureVerificationError
Error type for a failed jws signature verification. See JwsVerifier.