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
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionHashIDPreimageSorobanAuthorization
(Hash networkID, Int64 nonce, Uint32 signatureExpirationLedger, SorobanAuthorizedInvocation invocation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getNonce()
int
hashCode()
void
setInvocation
(SorobanAuthorizedInvocation invocation) void
setNetworkID
(Hash networkID) void
void
setSignatureExpirationLedger
(Uint32 signatureExpirationLedger) toString()
default String
default 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
-