Package org.stellar.sdk.xdr
Class AuthCert
java.lang.Object
org.stellar.sdk.xdr.AuthCert
AuthCert's original definition in the XDR file is:
struct AuthCert { Curve25519Public pubkey; uint64 expiration; Signature sig; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAuthCert()
AuthCert
(Curve25519Public pubkey, Uint64 expiration, Signature sig) -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthCert.AuthCertBuilder
builder()
static AuthCert
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static AuthCert
fromXdrBase64
(String xdr) static AuthCert
fromXdrByteArray
(byte[] xdr) getSig()
int
hashCode()
void
setExpiration
(Uint64 expiration) void
setPubkey
(Curve25519Public pubkey) void
toString()
default String
default byte[]
-
Constructor Details
-
AuthCert
public AuthCert() -
AuthCert
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getPubkey
-
getExpiration
-
getSig
-
setPubkey
-
setExpiration
-
setSig
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-