VerifiableCredentialJws

@Serializable
data class VerifiableCredentialJws(val vc: VerifiableCredential, val subject: String, val notBefore: Instant, val issuer: String, val expiration: Instant?, val jwtId: String)(source)

JWS representation of a VerifiableCredential.

Constructors

Link copied to clipboard
constructor(vc: VerifiableCredential, subject: String, notBefore: Instant, issuer: String, expiration: Instant?, jwtId: String)

Properties

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 = "sub")
val subject: String
Link copied to clipboard
@SerialName(value = "vc")
val vc: VerifiableCredential