Package-level declarations
Types
Content of a JWT (JsonWebToken), with many optional keys, since no claim is strongly required.
Representation of a decrypted JSON Web Encryption object, i.e. header and payload.
Representation of an encrypted JSON Web Encryption object, consisting of its 5 parts: Header, encrypted key, IV, ciphertext, authentication tag.
Header of a JweEncrypted or JweDecrypted.
Header of a JwsSigned.
Creates and parses JWS and JWE objects.
Representation of a signed SD-JWT (payload is VerifiableCredentialSdJwt), i.e. consisting of an JWS (with header, payload and signature) and several disclosures (SelectiveDisclosureItem) separated by a ~, possibly ending with a JWS with payload KeyBindingJws
Encodes SelectiveDisclosureItem as needed by SD-JWT spec, that is a JSON array with the values for salt, name, and the value itself, which in turn can be anything, e.g. number, boolean or string. We solve this challenge by serializing a list of JsonPrimitive, see implementation.
Very simple implementation of the meat of an X.509 Certificate: The structure that gets signed
Very simple implementation of an X.509 Certificate