Package org.stellar.sdk.xdr
Class Signer
java.lang.Object
org.stellar.sdk.xdr.Signer
Signer's original definition in the XDR file is:
struct Signer { SignerKey key; uint32 weight; // really only need 1 byte };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Signer.SignerBuilder
builder()
static Signer
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Signer
fromXdrBase64
(String xdr) static Signer
fromXdrByteArray
(byte[] xdr) getKey()
int
hashCode()
void
void
toString()
default String
default byte[]
-
Constructor Details
-
Signer
public Signer() -
Signer
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKey
-
getWeight
-
setKey
-
setWeight
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-