MdocPresentmentMechanism
class MdocPresentmentMechanism(val transport: MdocTransport, val eDeviceKey: EcPrivateKey, val encodedDeviceEngagement: ByteString, val handover: DataItem, val engagementDuration: Duration?, val allowMultipleRequests: Boolean) : PresentmentMechanism
A PresentmentMechanism to use with PresentmentModel for ISO/IEC 18013-5:2021 proximity presentations.
Constructors
Link copied to clipboard
constructor(transport: MdocTransport, eDeviceKey: EcPrivateKey, encodedDeviceEngagement: ByteString, handover: DataItem, engagementDuration: Duration?, allowMultipleRequests: Boolean)
Properties
Link copied to clipboard
if true, multiple requests are allowed.
Link copied to clipboard
the ephemeral device key for the session.
Link copied to clipboard
the Device Engagement.
Link copied to clipboard
the time engagement took if known, null
otherwise.
Link copied to clipboard
a MdocTransport connected to the remote mdoc reader.