KemDecapsulateResponse1

data class KemDecapsulateResponse1(val result: Int, val sharedSecret: ByteArray?, val waitDurationMillis: Long) : CloudSecureAreaProtocol.Command

The second and final response to a KEM decapsulate request.

Constructors

Link copied to clipboard
constructor(result: Int, sharedSecret: ByteArray?, waitDurationMillis: Long)

Properties

Link copied to clipboard
val result: Int

the result code, such as RESULT_OK or RESULT_WRONG_PASSPHRASE.

Link copied to clipboard

the decapsulated shared secret, or null if failed.

Link copied to clipboard

duration to wait before retrying in milliseconds.