Package org.stellar.sdk.xdr
Class DecoratedSignature
java.lang.Object
org.stellar.sdk.xdr.DecoratedSignature
- All Implemented Interfaces:
XdrElement
DecoratedSignature's original definition in the XDR file is:
struct DecoratedSignature
{
SignatureHint hint; // last 4 bytes of the public key, used as a hint
Signature signature; // actual signature
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static DecoratedSignaturedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic DecoratedSignaturefromXdrBase64(String xdr) static DecoratedSignaturefromXdrByteArray(byte[] xdr) getHint()inthashCode()voidsetHint(SignatureHint hint) voidsetSignature(Signature signature) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
DecoratedSignature
public DecoratedSignature() -
DecoratedSignature
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getHint
-
getSignature
-
setHint
-
setSignature
-
equals
-
hashCode
public int hashCode() -
toString
-