Package org.stellar.sdk.xdr
Class AuthenticatedMessage
java.lang.Object
org.stellar.sdk.xdr.AuthenticatedMessage
AuthenticatedMessage's original definition in the XDR file is:
union AuthenticatedMessage switch (uint32 v) { case 0: struct { uint64 sequence; StellarMessage message; HmacSha256Mac mac; } v0; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
AuthenticatedMessageV0's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionAuthenticatedMessage
(Uint32 discriminant, AuthenticatedMessage.AuthenticatedMessageV0 v0) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static AuthenticatedMessage
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static AuthenticatedMessage
fromXdrBase64
(String xdr) static AuthenticatedMessage
fromXdrByteArray
(byte[] xdr) getV0()
int
hashCode()
void
setDiscriminant
(Uint32 discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
AuthenticatedMessage
public AuthenticatedMessage() -
AuthenticatedMessage
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-