DeviceRequest
Top-level request in ISO 18013-5.
To construct an instance use buildDeviceRequest.
For a request received from a remote mdoc reader use the DeviceRequest.Companion.fromDataItem method. Note that you will need to manually call verifyReaderAuthentication before accessing the readerAuthAll or DocRequest.readerAuth fields for instances created this way.
Types
A builder for DeviceRequest.
Properties
a DeviceRequestInfo or null.
the document requests embedded in the request.
the ReaderAuthAll for the device request or empty if ReaderAuthAll is not used.
Functions
Executes the ISO 18013-5 request against a PresentmentSource.
Get the list of identities used to sign this request, one for each signature.
Compares two DeviceRequest instances and checks if they are similar in structure, including signing structure (protected headers and unprotected header keys), ignoring session-transcript-dependent signatures and ephemeral differences (such as certificate chains when the reader uses single-use keys).
Generates CBOR compliant with the CDDL for DeviceRequest according to ISO 18013-5.
Verifies reader authentication.