OtherDocument

data class OtherDocument(val docFormat: String, val data: ByteString)

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

Constructors

Link copied to clipboard
constructor(docFormat: String, data: ByteString)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val data: ByteString

the compressed data of the document, using the DEFLATE algorithm according to RFC 1951.

Link copied to clipboard

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

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 or if docFormat is not "dc+sd-jwt".

Link copied to clipboard

List of verified transaction data which was sent in the request