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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAuthCert()AuthCert(Curve25519Public pubkey, Uint64 expiration, Signature sig) -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthCert.AuthCertBuilderbuilder()static AuthCertdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic AuthCertfromXdrBase64(String xdr) static AuthCertfromXdrByteArray(byte[] xdr) getSig()inthashCode()voidsetExpiration(Uint64 expiration) voidsetPubkey(Curve25519Public pubkey) voidtoString()default Stringdefault 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
-