public class SorobanAddressCredentials extends java.lang.Object implements XdrElement
struct SorobanAddressCredentials { SCAddress address; int64 nonce; uint32 signatureExpirationLedger; SCVal signature; };
Modifier and Type | Class and Description |
---|---|
static class |
SorobanAddressCredentials.SorobanAddressCredentialsBuilder |
Constructor and Description |
---|
SorobanAddressCredentials() |
SorobanAddressCredentials(SCAddress address,
Int64 nonce,
Uint32 signatureExpirationLedger,
SCVal signature) |
Modifier and Type | Method and Description |
---|---|
static SorobanAddressCredentials.SorobanAddressCredentialsBuilder |
builder() |
static SorobanAddressCredentials |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SorobanAddressCredentials |
fromXdrBase64(java.lang.String xdr) |
static SorobanAddressCredentials |
fromXdrByteArray(byte[] xdr) |
SCAddress |
getAddress() |
Int64 |
getNonce() |
SCVal |
getSignature() |
Uint32 |
getSignatureExpirationLedger() |
int |
hashCode() |
void |
setAddress(SCAddress address) |
void |
setNonce(Int64 nonce) |
void |
setSignature(SCVal signature) |
void |
setSignatureExpirationLedger(Uint32 signatureExpirationLedger) |
SorobanAddressCredentials.SorobanAddressCredentialsBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SorobanAddressCredentials decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SorobanAddressCredentials fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SorobanAddressCredentials fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SorobanAddressCredentials.SorobanAddressCredentialsBuilder builder()
public SorobanAddressCredentials.SorobanAddressCredentialsBuilder toBuilder()
public SCAddress getAddress()
public Int64 getNonce()
public Uint32 getSignatureExpirationLedger()
public SCVal getSignature()
public void setAddress(SCAddress address)
public void setNonce(Int64 nonce)
public void setSignatureExpirationLedger(Uint32 signatureExpirationLedger)
public void setSignature(SCVal signature)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object