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, val transactionResponses: Map<String, Map<String, DataItem>>?, val vpTokenIdentifier: String?, val transactionData: List<TransactionData>) : 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, transactionResponses: Map<String, Map<String, DataItem>>?, vpTokenIdentifier: String?, transactionData: List<TransactionData>)

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 known.

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

transaction data that were sent in the presentation request, acknowledged in the response (with the acknowledgement verified).

Link copied to clipboard

response to transaction data associated with the presented credential as a map keyed by TransactionType.identifier, and with the value is a map with an entry for each item in the transaction response data, including "transaction_data_hash".

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 vpTokenIdentifier: String?

identifier for this document in OpenID4VP response, only set when OpenID4VP is in use

Link copied to clipboard
open override val zkpUsed: Boolean

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