Package org.stellar.sdk.xdr
Class SignerKey.SignerKeyEd25519SignedPayload
java.lang.Object
org.stellar.sdk.xdr.SignerKey.SignerKeyEd25519SignedPayload
- Enclosing class:
SignerKey
SignerKeyEd25519SignedPayload's original definition in the XDR file is:
struct
{
/* Public key that must sign the payload. */
uint256 ed25519;
/* Payload to be raw signed by ed25519. */
opaque payload<64>;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetEd25519(Uint256 ed25519) voidsetPayload(byte[] payload) toString()default Stringdefault byte[]
-
Constructor Details
-
SignerKeyEd25519SignedPayload
public SignerKeyEd25519SignedPayload() -
SignerKeyEd25519SignedPayload
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static SignerKey.SignerKeyEd25519SignedPayload decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
public static SignerKey.SignerKeyEd25519SignedPayload fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static SignerKey.SignerKeyEd25519SignedPayload.SignerKeyEd25519SignedPayloadBuilder builder() -
toBuilder
-
getEd25519
-
getPayload
public byte[] getPayload() -
setEd25519
-
setPayload
public void setPayload(byte[] payload) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-