Package org.xrpl.xrpl4j.crypto
Class ServerSecret
java.lang.Object
org.xrpl.xrpl4j.crypto.ServerSecret
- All Implemented Interfaces:
Destroyable
A way of encapsulating a secret value set by a server.
-
Method Details
-
of
Instantiates a new builder.- Parameters:
value- This passphrase's binary value.- Returns:
- A
ServerSecret.
-
value
public byte[] value()Accessor for a copy of the value of this passphrase.- Returns:
- An instance of
UnsignedByteArray.
-
destroy
public final void destroy()- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public final boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-
equals
-
hashCode
public int hashCode() -
toString
-