Package org.stellar.sdk.xdr
Class AuthenticatedMessage.AuthenticatedMessageV0
java.lang.Object
org.stellar.sdk.xdr.AuthenticatedMessage.AuthenticatedMessageV0
- Enclosing class:
AuthenticatedMessage
AuthenticatedMessageV0's original definition in the XDR file is:
struct { uint64 sequence; StellarMessage message; HmacSha256Mac mac; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionAuthenticatedMessageV0
(Uint64 sequence, StellarMessage message, HmacSha256Mac mac) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getMac()
int
hashCode()
void
setMac
(HmacSha256Mac mac) void
setMessage
(StellarMessage message) void
setSequence
(Uint64 sequence) toString()
default String
default byte[]
-
Constructor Details
-
AuthenticatedMessageV0
public AuthenticatedMessageV0() -
AuthenticatedMessageV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static AuthenticatedMessage.AuthenticatedMessageV0 decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static AuthenticatedMessage.AuthenticatedMessageV0 fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static AuthenticatedMessage.AuthenticatedMessageV0 fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getSequence
-
getMessage
-
getMac
-
setSequence
-
setMessage
-
setMac
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-