Package org.bouncycastle.pqc.jcajce.spec
Class SPHINCS256KeyGenParameterSpec
java.lang.Object
org.bouncycastle.pqc.jcajce.spec.SPHINCS256KeyGenParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
Key generation spec for SPHINCS-256 to allow specifying of tree hash.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor SHA512-256SPHINCS256KeyGenParameterSpec
(String treeHash) Specify the treehash, one of SHA512-256, or SHA3-256. -
Method Summary
-
Field Details
-
SHA512_256
Use SHA512-256 for the tree generation function.- See Also:
-
SHA3_256
Use SHA3-256 for the tree generation function.- See Also:
-
-
Constructor Details
-
SPHINCS256KeyGenParameterSpec
public SPHINCS256KeyGenParameterSpec()Default constructor SHA512-256 -
SPHINCS256KeyGenParameterSpec
Specify the treehash, one of SHA512-256, or SHA3-256.- Parameters:
treeHash
- the hash for building the public key tree.
-
-
Method Details
-
getTreeDigest
-