Package org.stellar.sdk.xdr
Class DecoratedSignature
java.lang.Object
org.stellar.sdk.xdr.DecoratedSignature
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static DecoratedSignature
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static DecoratedSignature
fromXdrBase64
(String xdr) static DecoratedSignature
fromXdrByteArray
(byte[] xdr) getHint()
int
hashCode()
void
setHint
(SignatureHint hint) void
setSignature
(Signature signature) toString()
default String
default byte[]
-
Constructor Details
-
DecoratedSignature
public DecoratedSignature() -
DecoratedSignature
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getHint
-
getSignature
-
setHint
-
setSignature
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-