Package org.xrpl.xrpl4j.crypto.keys
Class Passphrase
java.lang.Object
org.xrpl.xrpl4j.crypto.keys.Passphrase
- All Implemented Interfaces:
Destroyable
A way of choosing a
Seed or PrivateKey.-
Method Summary
Modifier and TypeMethodDescriptionfinal voiddestroy()booleaninthashCode()final booleanstatic Passphraseof(byte[] value) Instantiates a new builder.static PassphraseInstantiates a new builder.toString()byte[]value()Accessor for a copy of the value of this passphrase.
-
Method Details
-
of
Instantiates a new builder.- Parameters:
value- This passphrase's binary value.- Returns:
- A
Passphrase.
-
of
Instantiates a new builder.- Parameters:
valueAsString- AnUnsignedByteArraycontaining this key's binary value.- Returns:
- A
Passphrase.
-
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
-