Crate sd_jwt_payload

Source

Macros§

json
Construct a serde_json::Value from a JSON literal.

Structs§

Disclosure
A disclosable value. Both object properties and array elements disclosures are supported.
KeyBindingJwt
Representation of a KB-JWT.
KeyBindingJwtBuilder
Builder-style struct to ease the creation of an KeyBindingJwt.
KeyBindingJwtClaims
Claims set for key binding JWT.
Map
Represents a JSON key/value type.
SdJwt
Representation of an SD-JWT of the format <Issuer-signed JWT>~<Disclosure 1>~<Disclosure 2>~...~<Disclosure N>~<optional KB-JWT>.
SdJwtBuilder
Builder structure to create an issuable SD-JWT.
SdJwtClaims
SdJwtPresentationBuilder
Sha256Hasher
An implementation of Hasher that uses the sha-256 hash function.

Enums§

Error
RequiredKeyBinding
Proof of possession of a given key. See RFC7800 for more details.
Value
Represents any valid JSON value.

Constants§

KB_JWT_HEADER_TYP
SHA_ALG_NAME

Traits§

Hasher
Used to implement hash functions to be used for encoding/decoding.
JwsSigner
JSON Web Signature (JWS) Signer.

Type Aliases§

JsonObject
Result
Alias for a Result with the error type Error.