STRUCT
Contents
- Properties
version
documents
documentErrors
status
- Methods
init(version:documents:documentErrors:status:)
public struct DeviceResponse
Device retrieval mdoc response. It is CBOR encoded
In mdoc reader initialize from CBOR data received from holder (data exchange) In mdoc holder initialize from CBOR data received from server (registration)
let dr = DeviceResponse(data: bytes)
public let version: String
public let documents: [Document]?
An array of all returned documents
public let documentErrors: [DocumentError]?
An array of all returned document errors
public let status: UInt64
public init(version: String? = nil, documents: [Document]? = nil, documentErrors: [DocumentError]? = nil, status: UInt64)