Class Seed.DefaultSeed

java.lang.Object
org.xrpl.xrpl4j.crypto.keys.Seed.DefaultSeed
All Implemented Interfaces:
Destroyable, Seed
Enclosing interface:
Seed

public static class Seed.DefaultSeed extends Object implements Seed
A default implementation of a Seed.
  • Method Details

    • decodedSeed

      public Decoded decodedSeed()
      The decoded details of this seed.
      Specified by:
      decodedSeed in interface Seed
      Returns:
      An instance of Decoded.
    • deriveKeyPair

      public KeyPair deriveKeyPair()
      Description copied from interface: Seed
      Derive a public/private keypair from a Base58Check encoded 16 byte seed.
      Specified by:
      deriveKeyPair in interface Seed
      Returns:
      The KeyPair derived from the seed.
    • destroy

      public final void destroy()
      Specified by:
      destroy in interface Destroyable
    • isDestroyed

      public final boolean isDestroyed()
      Specified by:
      isDestroyed in interface Destroyable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object