EncryptedResponseData

@Serializable
data class EncryptedResponseData(val enc: ByteArray, val cipherText: ByteArray)(source)

Part of ISO 18013-7 Annex C The outcome of the single shot encryption are the enc and cipherText values as defined in the HPKE single shot encryption. In the EncryptedResponseData, enc is the serialized ephemeral public key, the cipherText is the ciphertext.

Constructors

Link copied to clipboard
constructor(enc: ByteArray, cipherText: ByteArray)

Properties

Link copied to clipboard
@SerialName(value = "cipherText")
val cipherText: ByteArray
Link copied to clipboard
@SerialName(value = "enc")
val enc: ByteArray

Functions

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