public final class UnencryptedEncryptedMessageAppendix extends EncryptedMessageAppendix implements Appendix.Encryptable
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.PrunableappendixName, appendixParser, appendixType| Constructor and Description |
|---|
UnencryptedEncryptedMessageAppendix(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) |
Fee |
getBaselineFee(Transaction transaction) |
EncryptedData |
getEncryptedData() |
protected int |
getMySize() |
boolean |
isAllowed(Chain chain) |
boolean |
isCompressed() |
boolean |
isPhasable() |
boolean |
isText() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject json) |
getAppendixName, getAppendixType, validategetBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, validateId, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAppendixpublic UnencryptedEncryptedMessageAppendix(byte[] messageToEncrypt,
boolean isText,
boolean isCompressed,
byte[] recipientPublicKey)
protected int getMySize()
protected void putMyBytes(java.nio.ByteBuffer buffer)
protected void putMyJSON(org.json.simple.JSONObject json)
putMyJSON in class EncryptedMessageAppendixpublic void apply(Transaction transaction, Account senderAccount, Account recipientAccount)
public void encrypt(byte[] privateKey)
encrypt in interface Appendix.Encryptablepublic Fee getBaselineFee(Transaction transaction)
getBaselineFee in interface AppendixgetBaselineFee in class Appendix.AbstractAppendixpublic final EncryptedData getEncryptedData()
public final boolean isText()
public final boolean isCompressed()
public final boolean isPhasable()
isPhasable in class Appendix.AbstractAppendixpublic boolean isAllowed(Chain chain)