Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class DefaultVerifierJwsService(cryptoService: VerifierCryptoService = DefaultVerifierCryptoService()) : VerifierJwsService
Link copied to clipboard
object JwsContentTypeConstants
Link copied to clipboard
interface JwsService
Creates and parses JWS and JWE objects.
Link copied to clipboard
data class SdJwtSigned(val jws: JwsSigned, val disclosures: Map<String, SelectiveDisclosureItem?>, val keyBindingJws: JwsSigned? = null)
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
Link copied to clipboard
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.
Link copied to clipboard
interface VerifierJwsService