Package org.stellar.sdk.xdr
Class Curve25519Public
java.lang.Object
org.stellar.sdk.xdr.Curve25519Public
Curve25519Public's original definition in the XDR file is:
struct Curve25519Public
{
opaque key[32];
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static Curve25519Publicdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic Curve25519PublicfromXdrBase64(String xdr) static Curve25519PublicfromXdrByteArray(byte[] xdr) byte[]getKey()inthashCode()voidsetKey(byte[] key) toString()default Stringdefault byte[]
-
Constructor Details
-
Curve25519Public
public Curve25519Public() -
Curve25519Public
public Curve25519Public(byte[] key)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKey
public byte[] getKey() -
setKey
public void setKey(byte[] key) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-