Package org.stellar.sdk.xdr
Class Signature
java.lang.Object
org.stellar.sdk.xdr.Signature
Signature's original definition in the XDR file is:
typedef opaque Signature<64>;
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
Signature
public Signature() -
Signature
public Signature(byte[] Signature)
-
-
Method Details
-
encode
- 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
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-