public class Signer extends java.lang.Object implements XdrElement
struct Signer { SignerKey key; uint32 weight; // really only need 1 byte };
Modifier and Type | Class and Description |
---|---|
static class |
Signer.SignerBuilder |
Constructor and Description |
---|
Signer() |
Signer(SignerKey key,
Uint32 weight) |
Modifier and Type | Method and Description |
---|---|
static Signer.SignerBuilder |
builder() |
static Signer |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static Signer |
fromXdrBase64(java.lang.String xdr) |
static Signer |
fromXdrByteArray(byte[] xdr) |
SignerKey |
getKey() |
Uint32 |
getWeight() |
int |
hashCode() |
void |
setKey(SignerKey key) |
void |
setWeight(Uint32 weight) |
Signer.SignerBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static Signer decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static Signer fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static Signer fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static Signer.SignerBuilder builder()
public Signer.SignerBuilder toBuilder()
public SignerKey getKey()
public Uint32 getWeight()
public void setKey(SignerKey key)
public void setWeight(Uint32 weight)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object