Expand description
§Header Types for Common Access Token
This module provides the header structure and related types for Common Access Tokens.
Headers in Common Access Tokens are divided into two categories:
- Protected Headers: These headers are integrity-protected and are part of the signature input.
- Unprotected Headers: These headers are not integrity-protected and can be modified without invalidating the signature.
The most important header parameters are:
- Algorithm (alg): Specifies the cryptographic algorithm used to secure the token.
- Key ID (kid): Identifies the key used to secure the token.
Modules§
- labels
- COSE header parameter labels
Structs§
- Header
- Header for a Common Access Token.
Enums§
- Algorithm
- Supported algorithms for token signing and verification.
- Cbor
Value - CBOR value type for header and claim values.
- KeyId
- Key identifier that can be either a binary or string value.
Type Aliases§
- Header
Map - Type alias for header maps