Merge remote-tracking branch 'origin/cbdc/poc-encrypt-backchain' into cbdc/poc-encrypt-backchain

This commit is contained in:
vanjatomic 2022-04-07 10:44:20 +01:00
commit 9ef361da3e

View File

@ -1,10 +1,17 @@
package net.corda.core.conclave.common
import net.corda.core.identity.CordaX500Name
import net.corda.core.serialization.CordaSerializable
import java.util.*
@CordaSerializable
data class EnclaveMessage(val invocationId: UUID, val command: EnclaveCommand, val message: ByteArray, val remoteAttestation: ByteArray? = null) {
data class EnclaveMessage(
val invocationId: UUID,
val command: EnclaveCommand,
val message: ByteArray,
val remoteAttestation: ByteArray? = null,
val callingParty: CordaX500Name? = null
) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false