public static class Appendix.PrunableEncryptedMessage extends Appendix.AbstractAppendix implements Appendix.Prunable
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage| Constructor and Description | 
|---|
| PrunableEncryptedMessage(EncryptedData encryptedData,
                        boolean isText,
                        boolean isCompressed) | 
| PrunableEncryptedMessage(org.json.simple.JSONObject attachmentJSON) | 
| Modifier and Type | Method and Description | 
|---|---|
| Fee | getBaselineFee(Transaction transaction) | 
| EncryptedData | getEncryptedData() | 
| byte[] | getHash() | 
| boolean | hasPrunableData() | 
| boolean | isCompressed() | 
| boolean | isText() | 
| void | restorePrunableData(Transaction transaction,
                   int blockTimestamp,
                   int height) | 
getBaselineFeeHeight, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, putBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldLoadPrunablehasAppendixpublic PrunableEncryptedMessage(org.json.simple.JSONObject attachmentJSON)
public PrunableEncryptedMessage(EncryptedData encryptedData, boolean isText, boolean isCompressed)
public final 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 byte[] getHash()
getHash in interface Appendix.Prunablepublic final boolean hasPrunableData()
hasPrunableData in interface Appendix.Prunablepublic void restorePrunableData(Transaction transaction, int blockTimestamp, int height)
restorePrunableData in interface Appendix.Prunable