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
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) byte[]
int
hashCode()
void
setEd25519
(Uint256 ed25519) void
setPayload
(byte[] payload) toString()
default String
default 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
-