Class HSSKeyGenerationParameters
java.lang.Object
org.bouncycastle.crypto.KeyGenerationParameters
org.bouncycastle.crypto.params.HSSKeyGenerationParameters
-
Constructor Summary
ConstructorsConstructorDescriptionHSSKeyGenerationParameters(LMSParameters[] lmsParameters, SecureRandom random) Base constructor - parameters and a source of randomness. -
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()getLmsParameters(int index) The parameters of one level of the hierarchy, 0 being the root;getDepth()gives the range.Methods inherited from class KeyGenerationParameters
getRandom, getStrength
-
Constructor Details
-
HSSKeyGenerationParameters
Base constructor - parameters and a source of randomness.- Parameters:
lmsParameters- array of LMS parameters, one per level in the hierarchy (up to 8 levels).random- the random byte source.
-
-
Method Details
-
getDepth
public int getDepth() -
getLmsParameters
The parameters of one level of the hierarchy, 0 being the root;getDepth()gives the range.- Throws:
ArrayIndexOutOfBoundsException- if index is outside 0 .. getDepth() - 1.
-
getLmsParameters
-