CredentialData

data class CredentialData(val secureAreaBoundKey: EcPublicKey?, val validFrom: Instant, val validUntil: Instant, val format: CredentialFormat, val data: ByteArray)

This data structure contains a data for a credential, minted by the issuer.

Constructors

Link copied to clipboard
constructor(secureAreaBoundKey: EcPublicKey?, validFrom: Instant, validUntil: Instant, format: CredentialFormat, data: ByteArray)

Properties

Link copied to clipboard

The data encoded in the format specified by format.

Link copied to clipboard

The format of the data.

Link copied to clipboard

The secure-area bound key that the credential is for.

Link copied to clipboard
val validFrom: Instant

The credential is not valid until this point in time.

Link copied to clipboard
val validUntil: Instant

The credential is not valid after this point in time.