public final class UnencryptedPrunableEncryptedMessageAppendix extends PrunableEncryptedMessageAppendix implements Appendix.Encryptable
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.PrunableappendixName, appendixParser, appendixType| Constructor and Description |
|---|
UnencryptedPrunableEncryptedMessageAppendix(byte[] messageToEncrypt,
boolean isText,
boolean isCompressed,
byte[] recipientPublicKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Transaction transaction,
Account senderAccount,
Account recipientAccount) |
void |
encrypt(byte[] privateKey) |
int |
getMyFullSize() |
void |
loadPrunable(Transaction transaction,
boolean includeExpiredPrunable) |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject json) |
void |
putMyPrunableBytes(java.nio.ByteBuffer buffer) |
void |
validate(Transaction transaction) |
getAppendixName, getAppendixType, getBaselineFee, getEncryptedData, getHash, getMySize, hasPrunableData, isAllowed, isCompressed, isPhasable, isText, restorePrunableDatagetBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, loadPrunable, putBytes, validateAtFinish, validateId, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldLoadPrunablehasAppendixpublic UnencryptedPrunableEncryptedMessageAppendix(byte[] messageToEncrypt,
boolean isText,
boolean isCompressed,
byte[] recipientPublicKey)
public int getMyFullSize()
getMyFullSize in interface Appendix.PrunablegetMyFullSize in class PrunableEncryptedMessageAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class PrunableEncryptedMessageAppendixpublic void putMyPrunableBytes(java.nio.ByteBuffer buffer)
putMyPrunableBytes in interface Appendix.PrunableputMyPrunableBytes in class PrunableEncryptedMessageAppendixprotected void putMyJSON(org.json.simple.JSONObject json)
putMyJSON in class PrunableEncryptedMessageAppendixpublic void validate(Transaction transaction) throws NxtException.ValidationException
validate in class PrunableEncryptedMessageAppendixNxtException.ValidationExceptionpublic void apply(Transaction transaction, Account senderAccount, Account recipientAccount)
apply in class PrunableEncryptedMessageAppendixpublic void loadPrunable(Transaction transaction, boolean includeExpiredPrunable)
loadPrunable in class PrunableEncryptedMessageAppendixpublic void encrypt(byte[] privateKey)
encrypt in interface Appendix.Encryptable