public class SPHINCS256KeyGenParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
SPHINCS256KeyGenParameterSpec()
Default constructor SHA512-256
|
SPHINCS256KeyGenParameterSpec(java.lang.String treeHash)
Specify the treehash, one of SHA512-256, or SHA3-256.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTreeDigest() |
public static final java.lang.String SHA512_256
public static final java.lang.String SHA3_256
public SPHINCS256KeyGenParameterSpec()
public SPHINCS256KeyGenParameterSpec(java.lang.String treeHash)
treeHash
- the hash for building the public key tree.