Package org.stellar.sdk.xdr
Class Curve25519Secret
java.lang.Object
org.stellar.sdk.xdr.Curve25519Secret
Curve25519Secret's original definition in the XDR file is:
struct Curve25519Secret { opaque key[32]; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static Curve25519Secret
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Curve25519Secret
fromXdrBase64
(String xdr) static Curve25519Secret
fromXdrByteArray
(byte[] xdr) byte[]
getKey()
int
hashCode()
void
setKey
(byte[] key) toString()
default String
default byte[]
-
Constructor Details
-
Curve25519Secret
public Curve25519Secret() -
Curve25519Secret
public Curve25519Secret(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
-