Top Description Fields Constructors Methods
org.bouncycastle.pqc.jcajce.spec

public Class SPHINCS256KeyGenParameterSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec

Key generation spec for SPHINCS-256 to allow specifying of tree hash.

Field Summary

Modifier and TypeField and Description
public static final String
SHA3_256

Use SHA3-256 for the tree generation function.

public static final String
SHA512_256

Use SHA512-256 for the tree generation function.

private final String

Constructor Summary

AccessConstructor and Description
public
SPHINCS256KeyGenParameterSpec()

Default constructor SHA512-256

public
SPHINCS256KeyGenParameterSpec(String
the hash for building the public key tree.
treeHash
)

Specify the treehash, one of SHA512-256, or SHA3-256.

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SHA3_256back to summary
public static final String SHA3_256

Use SHA3-256 for the tree generation function.

SHA512_256back to summary
public static final String SHA512_256

Use SHA512-256 for the tree generation function.

treeHashback to summary
private final String treeHash

Constructor Detail

SPHINCS256KeyGenParameterSpecback to summary
public SPHINCS256KeyGenParameterSpec()

Default constructor SHA512-256

SPHINCS256KeyGenParameterSpecback to summary
public SPHINCS256KeyGenParameterSpec(String treeHash)

Specify the treehash, one of SHA512-256, or SHA3-256.

Parameters
treeHash:String

the hash for building the public key tree.

Method Detail

getTreeDigestback to summary
public String getTreeDigest()