mirror of
https://github.com/corda/corda.git
synced 2024-12-25 07:31:10 +00:00
Merge remote-tracking branch 'origin/cbdc/poc-encrypt-backchain' into cbdc/poc-encrypt-backchain
This commit is contained in:
commit
9ef361da3e
@ -1,10 +1,17 @@
|
|||||||
package net.corda.core.conclave.common
|
package net.corda.core.conclave.common
|
||||||
|
|
||||||
|
import net.corda.core.identity.CordaX500Name
|
||||||
import net.corda.core.serialization.CordaSerializable
|
import net.corda.core.serialization.CordaSerializable
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
@CordaSerializable
|
@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 {
|
override fun equals(other: Any?): Boolean {
|
||||||
if (this === other) return true
|
if (this === other) return true
|
||||||
if (javaClass != other?.javaClass) return false
|
if (javaClass != other?.javaClass) return false
|
||||||
|
Loading…
Reference in New Issue
Block a user