Module jws::compact

source ·
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

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.