OtherDocument

data class OtherDocument(val docFormat: String, val data: ByteString, val docRequestIds: List<Int>? = null)

A document in a DeviceResponse which isn't an ISO mdoc.

Constructors

Link copied to clipboard
constructor(docFormat: String, data: ByteString, docRequestIds: List<Int>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val data: ByteString

the compressed data of the document, using ZLIB (RFC 1950 + RFC 1951).

Link copied to clipboard

the format of the document, e.g. "dc+sd-jwt".

Link copied to clipboard

optional list of DocRequest indices in DeviceRequest.docRequests that this document responds to, or null if not specified.

Link copied to clipboard

The expected audience value that was verified against the Key Binding JWT's aud claim, or null if DeviceResponse.verify (or EncryptedDocuments.decrypt) has not been called yet, if the credential is keyless, or if docFormat is not "dc+sd-jwt".

Link copied to clipboard

List of verified transaction data which was sent in the request