public static class SignerKey.SignerKeyEd25519SignedPayload extends java.lang.Object implements XdrElement
struct { /* Public key that must sign the payload. */ uint256 ed25519; /* Payload to be raw signed by ed25519. */ opaque payload<64>; }
Modifier and Type | Class and Description |
---|---|
static class |
SignerKey.SignerKeyEd25519SignedPayload.SignerKeyEd25519SignedPayloadBuilder |
Constructor and Description |
---|
SignerKeyEd25519SignedPayload() |
SignerKeyEd25519SignedPayload(Uint256 ed25519,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
static SignerKey.SignerKeyEd25519SignedPayload.SignerKeyEd25519SignedPayloadBuilder |
builder() |
static SignerKey.SignerKeyEd25519SignedPayload |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SignerKey.SignerKeyEd25519SignedPayload |
fromXdrBase64(java.lang.String xdr) |
static SignerKey.SignerKeyEd25519SignedPayload |
fromXdrByteArray(byte[] xdr) |
Uint256 |
getEd25519() |
byte[] |
getPayload() |
int |
hashCode() |
void |
setEd25519(Uint256 ed25519) |
void |
setPayload(byte[] payload) |
SignerKey.SignerKeyEd25519SignedPayload.SignerKeyEd25519SignedPayloadBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public SignerKeyEd25519SignedPayload()
public SignerKeyEd25519SignedPayload(Uint256 ed25519, byte[] payload)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SignerKey.SignerKeyEd25519SignedPayload decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SignerKey.SignerKeyEd25519SignedPayload fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SignerKey.SignerKeyEd25519SignedPayload fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SignerKey.SignerKeyEd25519SignedPayload.SignerKeyEd25519SignedPayloadBuilder builder()
public SignerKey.SignerKeyEd25519SignedPayload.SignerKeyEd25519SignedPayloadBuilder toBuilder()
public Uint256 getEd25519()
public byte[] getPayload()
public void setEd25519(Uint256 ed25519)
public void setPayload(byte[] payload)
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