ZkDocumentData

@Serializable
data class ZkDocumentData(val docType: String, val zkSystemId: String, val timestamp: LocalDate, val issuerSigned: Map<String, ZkSignedList>? = null, val deviceSigned: Map<String, ZkSignedList>? = null, val certificateChain: List<ByteArray>? = null)(source)

Part of the ISO/IEC 18013-5:2026 standard: ZKP Mdoc response (10.3.4)

Constructors

Link copied to clipboard
constructor(docType: String, zkSystemId: String, timestamp: LocalDate, issuerSigned: Map<String, ZkSignedList>? = null, deviceSigned: Map<String, ZkSignedList>? = null, certificateChain: List<ByteArray>? = null)

Properties

Link copied to clipboard
@SerialName(value = "msoX5chain")
val certificateChain: List<ByteArray>?

This header parameter contains an ordered array of X.509 certificates. The certificates are to be ordered starting with the certificate containing the end-entity key followed by the certificate that signed it, and so on. There is no requirement for the entire chain to be present in the element if there is reason to believe that the relying party already has, or can locate, the missing certificates. This means that the relying party is still required to do path building but that a candidate path is proposed in this header parameter.

Link copied to clipboard
@SerialName(value = "deviceSigned")
val deviceSigned: Map<String, ZkSignedList>?
Link copied to clipboard
@SerialName(value = "docType")
val docType: String
Link copied to clipboard
@SerialName(value = "issuerSigned")
val issuerSigned: Map<String, ZkSignedList>?
Link copied to clipboard
@SerialName(value = "timestamp")
val timestamp: LocalDate
Link copied to clipboard
@SerialName(value = "zkSystemId")
val zkSystemId: String