ServerResponse

@Serializable
data class ServerResponse(val version: String, val documents: Array<String>, val documentErrors: Map<String, Int>? = null)(source)

Part of the ISO/IEC 18013-5:2021 standard: Data structure for Server retrieval mdoc response (8.3.2.2.2.2)

Constructors

Link copied to clipboard
constructor(version: String, documents: Array<String>, documentErrors: Map<String, Int>? = null)

Properties

Link copied to clipboard
@SerialName(value = "documentErrors")
val documentErrors: Map<String, Int>? = null
Link copied to clipboard
@SerialName(value = "documents")
val documents: Array<String>

A single document is a JwsSigned, whose payload may be a MobileDrivingLicenceJws

Link copied to clipboard
@SerialName(value = "version")
val version: String

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int