org.bouncycastle.pqc.jcajce.spec
Class SPHINCS256KeyGenParameterSpec
java.lang.Object
|
+--org.bouncycastle.pqc.jcajce.spec.SPHINCS256KeyGenParameterSpec
- All Implemented Interfaces:
- java.security.spec.AlgorithmParameterSpec
- public class SPHINCS256KeyGenParameterSpec
- extends java.lang.Object
- implements java.security.spec.AlgorithmParameterSpec
Key generation spec for SPHINCS-256 to allow specifying of tree hash.
Field Summary |
static java.lang.String |
SHA3_256
Use SHA3-256 for the tree generation function. |
static java.lang.String |
SHA512_256
Use SHA512-256 for the tree generation function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHA512_256
public static final java.lang.String SHA512_256
- Use SHA512-256 for the tree generation function.
SHA3_256
public static final java.lang.String SHA3_256
- Use SHA3-256 for the tree generation function.
SPHINCS256KeyGenParameterSpec
public SPHINCS256KeyGenParameterSpec()
- Default constructor SHA512-256
SPHINCS256KeyGenParameterSpec
public SPHINCS256KeyGenParameterSpec(java.lang.String treeHash)
- Specify the treehash, one of SHA512-256, or SHA3-256.
- Parameters:
treeHash
- the hash for building the public key tree.
getTreeDigest
public java.lang.String getTreeDigest()