
com.quorum.tessera.enclave.rest.EnclavePayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enclave-jaxrs Show documentation
Show all versions of enclave-jaxrs Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
package com.quorum.tessera.enclave.rest;
import com.quorum.tessera.enclave.PrivacyMode;
import jakarta.xml.bind.annotation.XmlMimeType;
import jakarta.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;
@XmlRootElement
public class EnclavePayload implements Serializable {
@XmlMimeType("base64Binary")
private byte[] data;
@XmlMimeType("base64Binary")
private byte[] senderKey;
@XmlMimeType("base64Binary")
private List recipientPublicKeys;
private PrivacyMode privacyMode;
private List affectedContractTransactions;
@XmlMimeType("base64Binary")
private byte[] execHash;
@XmlMimeType("base64Binary")
private List mandatoryRecipients;
@XmlMimeType("base64Binary")
private byte[] privacyGroupId;
public byte[] getData() {
return data;
}
public void setData(byte[] data) {
this.data = data;
}
public byte[] getSenderKey() {
return senderKey;
}
public void setSenderKey(byte[] senderKey) {
this.senderKey = senderKey;
}
public List getRecipientPublicKeys() {
return recipientPublicKeys;
}
public void setRecipientPublicKeys(List recipientPublicKeys) {
this.recipientPublicKeys = recipientPublicKeys;
}
public PrivacyMode getPrivacyMode() {
return privacyMode;
}
public void setPrivacyMode(PrivacyMode privacyMode) {
this.privacyMode = privacyMode;
}
public List getAffectedContractTransactions() {
return affectedContractTransactions;
}
public void setAffectedContractTransactions(List affectedContractTransactions) {
this.affectedContractTransactions = affectedContractTransactions;
}
public byte[] getExecHash() {
return execHash;
}
public void setExecHash(byte[] execHash) {
this.execHash = execHash;
}
public byte[] getPrivacyGroupId() {
return privacyGroupId;
}
public void setPrivacyGroupId(byte[] privacyGroupId) {
this.privacyGroupId = privacyGroupId;
}
public List getMandatoryRecipients() {
return mandatoryRecipients;
}
public void setMandatoryRecipients(List mandatoryRecipients) {
this.mandatoryRecipients = mandatoryRecipients;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy