SdJwtSigned

data class SdJwtSigned(val jws: JwsCompact, val rawDisclosures: List<String>, val keyBindingJws: JwsCompactTyped<KeyBindingJws>? = null, val hashInput: String)(source)

Representation of a signed SD-JWT, as issued by an issuer or presented by a holder, i.e. consisting of an JWS (with header, payload is at.asitplus.wallet.lib.data.VerifiableCredentialSdJwt and signature) and several disclosures (at.asitplus.wallet.lib.data.SelectiveDisclosureItem) separated by a ~, possibly ending with a keyBindingJws, that is a JWS with payload at.asitplus.wallet.lib.data.KeyBindingJws.

Constructors

Link copied to clipboard
constructor(jws: JwsCompact, rawDisclosures: List<String>, keyBindingJws: JwsCompactTyped<KeyBindingJws>? = null, hashInput: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val jws: JwsCompact

Holds signed JWS in compact representation. To access the payload use at.asitplus.signum.indispensable.josef.JWS.getPayload

Link copied to clipboard
val keyBindingJws: JwsCompactTyped<KeyBindingJws>?
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getPayloadAsJsonObject(): KmmResult<JsonObject>
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Compact serialization: JWT in JWS compact serialization (Base64-URL with dots), disclosures and key binding appended, separated by a tilde.

Link copied to clipboard
open override fun toString(): String