DeviceResponseParser

class DeviceResponseParser(val encodedDeviceResponse: ByteArray, val encodedSessionTranscript: ByteArray)

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

Parameters

encodedDeviceResponse

the bytes of the DeviceResponse CBOR.

encodedSessionTranscript

the bytes of the SessionTrancript CBOR.

Constructors

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

Types

Link copied to clipboard

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

Link copied to clipboard
class Document

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

Properties

Functions

Link copied to clipboard

Parses the device response.

Link copied to clipboard

Sets the private part of the ephemeral key used in the session where the DeviceResponse was obtained.