Module sd_jwt_vc

Source
Expand description

Implementation of the SD-JWT VC token specification.

Re-exports§

pub use resolver::Resolver;

Modules§

metadata
Additional metadata defined by the SD-JWT VC specification such as issuer’s metadata and credential type metadata.
resolver
Resolver trait.

Structs§

SdJwtVc
An SD-JWT carrying a verifiable credential as described in SD-JWT VC specification.
SdJwtVcBuilder
A structure to ease the creation of an SdJwtVc.
SdJwtVcClaims
JOSE payload claims for SD-JWT VC.
SdJwtVcPresentationBuilder
Builder structure to create an SD-JWT VC presentation. It allows users to conceal claims and attach a key binding JWT.
Status
SD-JWT VC’s status claim value. Used to retrieve the status of the token.
StatusListRef
A reference to an OAuth status list. See OAuth StatusList specification for more information.

Enums§

Error
Error type that represents failures that might arise when dealing with SdJwtVcs.
StatusMechanism
Mechanism used for representing the status of an SD-JWT VC token.

Constants§

SD_JWT_VC_TYP
SD-JWT VC’s JOSE header typ’s value.

Functions§

vct_to_url
Converts vct claim’s URI value into the appropriate well-known URL.

Type Aliases§

Result
Either a value of type T or an [Error].