Expand description
Expose the selective disclosure crate.
Macros§
- json
- Construct a
serde_json::Value
from a JSON literal.
Structs§
- Disclosure
- Represents an elements constructing a disclosure. Object properties and array elements disclosures are supported.
- KeyBinding
JwtClaims - 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>
. - SdObject
Decoder - Substitutes digests in an SD-JWT object by their corresponding plain text values provided by disclosures.
- SdObject
Encoder - Transforms a JSON object into an SD-JWT object by substituting selected values with their corresponding disclosure digests.
- Sha256
Hasher - An implementation of
Hasher
that uses thesha-256
hash function.
Enums§
Constants§
Traits§
- Hasher
- Used to implement hash functions to be used for encoding/decoding.