VerifiableCredentialSdJwt

@Serializable
data class VerifiableCredentialSdJwt(val subject: String, val notBefore: Instant, val issuer: String, val expiration: Instant?, val jwtId: String, val disclosureDigests: List<String>, val type: Collection<String>, val credentialStatus: CredentialStatus? = null, val selectiveDisclosureAlgorithm: String, val confirmationKey: JsonWebKey? = null)

SD-JWT representation of a VerifiableCredential.

Constructors

Link copied to clipboard
constructor(subject: String, notBefore: Instant, issuer: String, expiration: Instant?, jwtId: String, disclosureDigests: List<String>, type: Collection<String>, credentialStatus: CredentialStatus? = null, selectiveDisclosureAlgorithm: String, confirmationKey: JsonWebKey? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "cnf")
val confirmationKey: JsonWebKey? = null
Link copied to clipboard
@SerialName(value = "credentialStatus")
val credentialStatus: CredentialStatus? = null
Link copied to clipboard
@SerialName(value = "_sd")
val disclosureDigests: List<String>
Link copied to clipboard
@SerialName(value = "exp")
val expiration: Instant?
Link copied to clipboard
@SerialName(value = "iss")
val issuer: String
Link copied to clipboard
@SerialName(value = "jti")
val jwtId: String
Link copied to clipboard
@SerialName(value = "nbf")
@Serializable(with = InstantLongSerializer::class)
val notBefore: Instant
Link copied to clipboard
@SerialName(value = "_sd_alg")
val selectiveDisclosureAlgorithm: String
Link copied to clipboard
@SerialName(value = "sub")
val subject: String
Link copied to clipboard
@SerialName(value = "type")
val type: Collection<String>

Functions

Link copied to clipboard