Module jws::compact[][src]

Expand description

JWS Compact Serialization implementaton.

This module contains types and functions to encode/decode and sign/verify messages encoded with the JWS Compact Serialization Scheme as defined in RFC 1715 section 7.1.

Most applications should use encode_sign and decode_verify. These functions combine encoding and signing or decoding and verifying in a single step.

Structs

The individual (still encoded) parts of a JWS Compact Serialized message.

A compact JWS message with header and payload, but without signature.

An encoded JWS Compact Serialization message without signature.

An encoded JWS Compact Serialization message with signature.

Functions

decodeDeprecated

Decode a JWS Compact Serialization message with signature from a byte slice.

Decode a JWS Compact Serialization message with signature from a byte slice.

Decode and verify a JWS Compact Serialization message.

Encode a message using the JWS Compact Serialization scheme.

Encode and sign the message.

Split the parts of a JWS Compact Serialization message.