IosDcApiMdocPreRequestSummary

@Serializable
data class IosDcApiMdocPreRequestSummary(val documentRequests: List<IosDcApiMdocPreRequestDocumentRequest>)(source)

iOS-only summary of the mdoc data elements shown by the system before the wallet receives the full Annex C request.

Use isConsistentWith after receiving the full request and reject the flow when it returns false. Comparison is independent of document, namespace, and data-element ordering, but includes each intentToRetain value.

Constructors

Link copied to clipboard
constructor(documentRequests: List<IosDcApiMdocPreRequestDocumentRequest>)

Functions

Link copied to clipboard

Checks that the full request asks for exactly the documents and data elements shown in this summary.

Link copied to clipboard

Converts the summary into an ISO device request for pre-request credential matching.