Package org.stellar.sdk.xdr
Class AuthenticatedMessage
java.lang.Object
org.stellar.sdk.xdr.AuthenticatedMessage
- All Implemented Interfaces:
XdrElement
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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classAuthenticatedMessageV0's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatedMessage(Uint32 discriminant, AuthenticatedMessage.AuthenticatedMessageV0 v0) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static AuthenticatedMessagedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic AuthenticatedMessagefromXdrBase64(String xdr) static AuthenticatedMessagefromXdrByteArray(byte[] xdr) getV0()inthashCode()voidsetDiscriminant(Uint32 discriminant) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
AuthenticatedMessage
public AuthenticatedMessage() -
AuthenticatedMessage
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-