Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Disclosure ¶
Disclosure this object represents a single disclosure in a SD-JWT. Salt the base64url encoded cryptographically secure string used during generation Key the key of the disclosed value. Only present for disclosed object values and not set when for an array element Value the value being disclosed EncodedValue the resulting base64url encoded disclosure array
func NewFromArrayElement ¶
func NewFromArrayElement(element any, salt *string) (*Disclosure, error)
func NewFromDisclosure ¶
func NewFromDisclosure(disclosure string) (*Disclosure, error)
func NewFromObject ¶
func NewFromObject(key string, value any, salt *string) (*Disclosure, error)
Click to show internal directories.
Click to hide internal directories.