Package org.stellar.sdk.xdr
Class EncryptedBody
java.lang.Object
org.stellar.sdk.xdr.EncryptedBody
- All Implemented Interfaces:
XdrElement
EncryptedBody's original definition in the XDR file is:
typedef opaque EncryptedBody<64000>;
-
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptedBodydecode(XdrDataInputStream stream) static EncryptedBodydecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) booleanstatic EncryptedBodystatic EncryptedBodyfromXdrBase64(String xdr) static EncryptedBodyfromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetEncryptedBody(byte[] EncryptedBody) toJson()toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
EncryptedBody
public EncryptedBody() -
EncryptedBody
public EncryptedBody(byte[] EncryptedBody)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
- Specified by:
toJsonin interfaceXdrElement
-
fromJson
-
getEncryptedBody
public byte[] getEncryptedBody() -
setEncryptedBody
public void setEncryptedBody(byte[] EncryptedBody) -
equals
-
hashCode
public int hashCode() -
toString
-