Package org.stellar.sdk.xdr
Class SorobanAddressCredentials
java.lang.Object
org.stellar.sdk.xdr.SorobanAddressCredentials
SorobanAddressCredentials's original definition in the XDR file is:
struct SorobanAddressCredentials { SCAddress address; int64 nonce; uint32 signatureExpirationLedger; SCVal signature; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionSorobanAddressCredentials
(SCAddress address, Int64 nonce, Uint32 signatureExpirationLedger, SCVal signature) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SorobanAddressCredentials
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SorobanAddressCredentials
fromXdrBase64
(String xdr) static SorobanAddressCredentials
fromXdrByteArray
(byte[] xdr) getNonce()
int
hashCode()
void
setAddress
(SCAddress address) void
void
setSignature
(SCVal signature) void
setSignatureExpirationLedger
(Uint32 signatureExpirationLedger) toString()
default String
default byte[]
-
Constructor Details
-
SorobanAddressCredentials
public SorobanAddressCredentials() -
SorobanAddressCredentials
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAddress
-
getNonce
-
getSignatureExpirationLedger
-
getSignature
-
setAddress
-
setNonce
-
setSignatureExpirationLedger
-
setSignature
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-