Package org.stellar.sdk.xdr
Class HashIDPreimage.HashIDPreimageSorobanAuthorization
java.lang.Object
org.stellar.sdk.xdr.HashIDPreimage.HashIDPreimageSorobanAuthorization
- Enclosing class:
HashIDPreimage
HashIDPreimageSorobanAuthorization's original definition in the XDR file is:
struct
{
Hash networkID;
int64 nonce;
uint32 signatureExpirationLedger;
SorobanAuthorizedInvocation invocation;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionHashIDPreimageSorobanAuthorization(Hash networkID, Int64 nonce, Uint32 signatureExpirationLedger, SorobanAuthorizedInvocation invocation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getNonce()inthashCode()voidsetInvocation(SorobanAuthorizedInvocation invocation) voidsetNetworkID(Hash networkID) voidvoidsetSignatureExpirationLedger(Uint32 signatureExpirationLedger) toString()default Stringdefault byte[]
-
Constructor Details
-
HashIDPreimageSorobanAuthorization
public HashIDPreimageSorobanAuthorization() -
HashIDPreimageSorobanAuthorization
public HashIDPreimageSorobanAuthorization(Hash networkID, Int64 nonce, Uint32 signatureExpirationLedger, SorobanAuthorizedInvocation invocation)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static HashIDPreimage.HashIDPreimageSorobanAuthorization decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static HashIDPreimage.HashIDPreimageSorobanAuthorization fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static HashIDPreimage.HashIDPreimageSorobanAuthorization fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static HashIDPreimage.HashIDPreimageSorobanAuthorization.HashIDPreimageSorobanAuthorizationBuilder builder() -
toBuilder
-
getNetworkID
-
getNonce
-
getSignatureExpirationLedger
-
getInvocation
-
setNetworkID
-
setNonce
-
setSignatureExpirationLedger
-
setInvocation
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-