Iso18013Presentment
Performs proximity presentment according to ISO/IEC 18013-5:2021.
Parameters
the transport to use for communicating with the reader.
a StateFlow providing the current engagement parameters.
the source of truth for documents to present.
curves available for key agreement.
the list of documents the user may have preselected earlier or the empty list if the user didn't preselect.
whether sequence numbers should be inserted in session messages.
timeout for initial message.
timeout for subsequent messages.
callback when waiting for request.
callback when waiting for user input.
callback with selected documents.
callback when sending response.
callback when a DeviceRequest is received.
callback invoked with the final PresentmentTelemetry. This is guaranteed to be called both before returning normally and before an exception is thrown.
Throws
if user authentication failed or was canceled.
if face matching failed or was canceled.
if the user canceled in a consent prompt.
if it's not possible to satisfy the request.
Performs proximity presentment according to ISO/IEC 18013-5:2021 using individual engagement parameters.
Parameters
the transport to use for communicating with the reader.
the ephemeral device key generated for engagement.
the encoded DeviceEngagement structure.
the handover structure.
the source of truth for documents to present.
curves available for key agreement.
the list of documents the user may have preselected earlier or the empty list if the user didn't preselect.
whether sequence numbers should be inserted in session messages.
timeout for initial message.
timeout for subsequent messages.
callback when waiting for request.
callback when waiting for user input.
callback with selected documents.
callback when sending response.
callback invoked with the final PresentmentTelemetry. This is guaranteed to be called both before returning normally and before an exception is thrown.
Throws
if user authentication failed or was canceled.
if face matching failed or was canceled.
if the user canceled in a consent prompt.
if it's not possible to satisfy the request.