Package org.stellar.sdk.xdr
Class Signature
java.lang.Object
org.stellar.sdk.xdr.Signature
- All Implemented Interfaces:
XdrElement
Signature's original definition in the XDR file is:
typedef opaque Signature<64>;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Signature
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Signature
fromXdrBase64
(String xdr) static Signature
fromXdrByteArray
(byte[] xdr) byte[]
int
hashCode()
void
setSignature
(byte[] Signature) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Signature
public Signature() -
Signature
public Signature(byte[] Signature)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getSignature
public byte[] getSignature() -
setSignature
public void setSignature(byte[] Signature) -
equals
-
hashCode
public int hashCode() -
toString
-