DeviceRequestParser

class DeviceRequestParser(encodedDeviceRequest: ByteArray, encodedSessionTranscript: ByteArray)

Helper class for parsing the bytes of DeviceRequest CBOR as specified in ISO/IEC 18013-5:2021 section 8.3 Device Retrieval.

Parameters

encodedDeviceRequest

the bytes of the DeviceRequest CBOR.

encodedSessionTranscript

the bytes of SessionTranscript.

Constructors

Link copied to clipboard
constructor(encodedDeviceRequest: ByteArray, encodedSessionTranscript: ByteArray)

Types

Link copied to clipboard

An object used to represent data parsed from DeviceRequest CBOR as specified in ISO/IEC 18013-5 section 8.3 Device Retrieval.

Link copied to clipboard

An object used to represent data parsed from the DocRequest CBOR (part of DeviceRequest) as specified in ISO/IEC 18013-5 section 8.3 Device Retrieval.

Functions

Link copied to clipboard

Parses the device request.

Link copied to clipboard

Sets a flag to skip force skip parsing the reader auth structure.