PresentmentCredentialMatch

data class PresentmentCredentialMatch(val credential: Credential, val claims: Map<RequestedClaim, Claim>, val source: PresentmentCredentialMatchSource, val transactionData: List<TransactionData<*>>, val transactionUserInput: Map<String, TransactionUserInput> = emptyMap(), val faceMatchNeeded: Boolean = false, val encryptionRequested: Boolean = false, val encryptionTargetCertificationChain: X509CertChain? = null, val encryptionTargetTrustMetadata: TrustMetadata? = null)

A match of a particular Credential from org.multipaz.document.DocumentStore for presentment.

Constructors

Link copied to clipboard
constructor(credential: Credential, claims: Map<RequestedClaim, Claim>, source: PresentmentCredentialMatchSource, transactionData: List<TransactionData<*>>, transactionUserInput: Map<String, TransactionUserInput> = emptyMap(), faceMatchNeeded: Boolean = false, encryptionRequested: Boolean = false, encryptionTargetCertificationChain: X509CertChain? = null, encryptionTargetTrustMetadata: TrustMetadata? = null)

Properties

Link copied to clipboard

the claims to present along with their request.

Link copied to clipboard

the Credential to present.

Link copied to clipboard

whether the resulting credential is requested to be encrypted to a third party.

Link copied to clipboard

the certificate chain of the third party, if supplied.

Link copied to clipboard

trust metadata for the third party, if available.

Link copied to clipboard

whether face matching is needed for this credential presentment.

Link copied to clipboard

the source for the request for the match.

Link copied to clipboard

list of transaction data to use for this credential presentment.

Link copied to clipboard

additional user input for transactions, indexed by the transaction type identifier.