Module types

Module types 

Source
Expand description

Core types and structures for SD-JWT RFC 9901

This module defines the main data structures used throughout the library.

Structs§

IssuerConfig
Issuer configuration
KeyBindingJwtPayload
Key Binding JWT payload per RFC 9901 Section 4.3
KeyBindingParams
Parameters for creating a Key Binding JWT
KeyBindingVerificationParams
Parameters for verifying a Key Binding JWT
ProcessedPayload
Processed SD-JWT payload after verification
SdJwt
Represents an SD-JWT (Issuer-signed JWT + Disclosures)
SdJwtConfig
Configuration for SD-JWT creation
SdJwtKb
Represents an SD-JWT+KB (SD-JWT with Key Binding JWT)
VerifierConfig
Verifier configuration

Enums§

HashAlgorithm
Supported hash algorithms per RFC 9901

Constants§

ARRAY_DIGEST_KEY
SD-JWT reserved claim for array element digest
DEFAULT_HASH_ALG
Default hash algorithm
SD_ALG_CLAIM
SD-JWT reserved claim name for hash algorithm
SD_CLAIM
SD-JWT reserved claim name for selective disclosure array
SD_JWT_SEPARATOR
SD-JWT component separator per RFC 9901