com.quorum.tessera.enclave.rest.EnclaveRawPayload 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.util.List;
@XmlRootElement
public class EnclaveRawPayload {
@XmlMimeType("base64Binary")
private byte[] encryptedPayload;
@XmlMimeType("base64Binary")
private byte[] encryptedKey;
@XmlMimeType("base64Binary")
private byte[] nonce;
@XmlMimeType("base64Binary")
private byte[] from;
@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[] getEncryptedPayload() {
return encryptedPayload;
}
public void setEncryptedPayload(byte[] encryptedPayload) {
this.encryptedPayload = encryptedPayload;
}
public byte[] getEncryptedKey() {
return encryptedKey;
}
public void setEncryptedKey(byte[] encryptedKey) {
this.encryptedKey = encryptedKey;
}
public byte[] getNonce() {
return nonce;
}
public void setNonce(byte[] nonce) {
this.nonce = nonce;
}
public byte[] getFrom() {
return from;
}
public void setFrom(byte[] from) {
this.from = from;
}
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 List getMandatoryRecipients() {
return mandatoryRecipients;
}
public void setMandatoryRecipients(List mandatoryRecipients) {
this.mandatoryRecipients = mandatoryRecipients;
}
public byte[] getPrivacyGroupId() {
return privacyGroupId;
}
public void setPrivacyGroupId(byte[] privacyGroupId) {
this.privacyGroupId = privacyGroupId;
}
}