MdocVerifiedPresentation

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

A verified presentation of an ISO mdoc credential

Constructors

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

Properties

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

the claims signed by the device.

Link copied to clipboard

the ISO mdoc document type, e.g. org.iso.18013.5.1.mDL.

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<MdocClaim>

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
open override val zkpUsed: Boolean

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