public class SPHINCS256KeyGenParameterSpec extends Object implements AlgorithmParameterSpec
| Modifier and Type | Field and Description |
|---|---|
static String |
SHA3_256
Use SHA3-256 for the tree generation function.
|
static String |
SHA512_256
Use SHA512-256 for the tree generation function.
|
| Constructor and Description |
|---|
SPHINCS256KeyGenParameterSpec()
Default constructor SHA512-256
|
SPHINCS256KeyGenParameterSpec(String treeHash)
Specify the treehash, one of SHA512-256, or SHA3-256.
|
public static final String SHA512_256
public static final String SHA3_256
public SPHINCS256KeyGenParameterSpec()
public SPHINCS256KeyGenParameterSpec(String treeHash)
treeHash - the hash for building the public key tree.public String getTreeDigest()
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.