Class BCSphincs256PrivateKey

java.lang.Object
org.bouncycastle.pqc.jcajce.provider.sphincs.BCSphincs256PrivateKey
All Implemented Interfaces:
Serializable, Key, PrivateKey, Destroyable, SPHINCSKey

public class BCSphincs256PrivateKey extends Object implements PrivateKey, SPHINCSKey
See Also:
  • Constructor Details

  • Method Details

    • equals

      public boolean equals(Object o)
      Compare this SPHINCS-256 private key with another object.
      Overrides:
      equals in class Object
      Parameters:
      o - the other object
      Returns:
      the result of the comparison
    • hashCode

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

      public final String getAlgorithm()
      Specified by:
      getAlgorithm in interface Key
      Returns:
      name of the algorithm - "SPHINCS-256"
    • getEncoded

      public byte[] getEncoded()
      Specified by:
      getEncoded in interface Key
    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface Key
    • getKeyData

      public byte[] getKeyData()
      Specified by:
      getKeyData in interface SPHINCSKey