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
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()default Stringdefault 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
-