Package org.stellar.sdk.xdr
Class Signer
java.lang.Object
org.stellar.sdk.xdr.Signer
- All Implemented Interfaces:
XdrElement
Signer's original definition in the XDR file is:
struct Signer
{
SignerKey key;
uint32 weight; // really only need 1 byte
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Signer.SignerBuilderbuilder()static Signerdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SignerfromXdrBase64(String xdr) static SignerfromXdrByteArray(byte[] xdr) getKey()inthashCode()voidvoidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Signer
public Signer() -
Signer
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKey
-
getWeight
-
setKey
-
setWeight
-
equals
-
hashCode
public int hashCode() -
toString
-