Package org.stellar.sdk.xdr
Class SorobanAddressCredentials
java.lang.Object
org.stellar.sdk.xdr.SorobanAddressCredentials
- All Implemented Interfaces:
XdrElement
SorobanAddressCredentials's original definition in the XDR file is:
struct SorobanAddressCredentials
{
SCAddress address;
int64 nonce;
uint32 signatureExpirationLedger;
SCVal signature;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionSorobanAddressCredentials(SCAddress address, Int64 nonce, Uint32 signatureExpirationLedger, SCVal signature) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SorobanAddressCredentialsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SorobanAddressCredentialsfromXdrBase64(String xdr) static SorobanAddressCredentialsfromXdrByteArray(byte[] xdr) getNonce()inthashCode()voidsetAddress(SCAddress address) voidvoidsetSignature(SCVal signature) voidsetSignatureExpirationLedger(Uint32 signatureExpirationLedger) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SorobanAddressCredentials
public SorobanAddressCredentials() -
SorobanAddressCredentials
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-