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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static Curve25519Public
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Curve25519Public
fromXdrBase64
(String xdr) static Curve25519Public
fromXdrByteArray
(byte[] xdr) byte[]
getKey()
int
hashCode()
void
setKey
(byte[] key) toString()
default String
default 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
-