JsonVerifiedPresentation

data class JsonVerifiedPresentation(val documentSignerCertChain: X509CertChain, val issuerSignedClaims: List<JsonClaim>, val deviceSignedClaims: List<JsonClaim>, val zkpUsed: Boolean, val validFrom: Instant?, val validUntil: Instant?, val signedAt: Instant?, val expectedUpdate: Instant?, val vct: String) : VerifiedPresentation

A verified presentation of a JSON-based credential

Constructors

Link copied to clipboard
constructor(documentSignerCertChain: X509CertChain, issuerSignedClaims: List<JsonClaim>, deviceSignedClaims: List<JsonClaim>, zkpUsed: Boolean, validFrom: Instant?, validUntil: Instant?, signedAt: Instant?, expectedUpdate: Instant?, vct: String)

Properties

Link copied to clipboard
open override val deviceSignedClaims: List<JsonClaim>

the claims signed by the device.

Link copied to clipboard

the certificate chain of the document signer key or null if not know.

Link copied to clipboard
open override val expectedUpdate: Instant?

the point in time an update is expected, if any.

Link copied to clipboard
open override val issuerSignedClaims: List<JsonClaim>

the claims signed by the issuer.

Link copied to clipboard
open override val signedAt: Instant?

the point in time this was signed.

Link copied to clipboard
open override val validFrom: Instant?

the point in time this presentation is valid from.

Link copied to clipboard
open override val validUntil: Instant?

the point in time this presentation is valid until.

Link copied to clipboard
val vct: String

the Verifiable Credential Type.

Link copied to clipboard
open override val zkpUsed: Boolean

if true, a Zero-Knowledge Proof was used to verify the credential.