Class SPHINCS256KeyGenParameterSpec

java.lang.Object
org.bouncycastle.pqc.jcajce.spec.SPHINCS256KeyGenParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class SPHINCS256KeyGenParameterSpec extends Object implements AlgorithmParameterSpec
Key generation spec for SPHINCS-256 to allow specifying of tree hash.
  • Field Details

  • Constructor Details

    • SPHINCS256KeyGenParameterSpec

      public SPHINCS256KeyGenParameterSpec()
      Default constructor SHA512-256
    • SPHINCS256KeyGenParameterSpec

      public SPHINCS256KeyGenParameterSpec(String treeHash)
      Specify the treehash, one of SHA512-256, or SHA3-256.
      Parameters:
      treeHash - the hash for building the public key tree.
  • Method Details

    • getTreeDigest

      public String getTreeDigest()