public class HSSKeyGenerationParameters extends KeyGenerationParameters
| Constructor and Description |
|---|
HSSKeyGenerationParameters(LMSParameters[] lmsParameters,
java.security.SecureRandom random)
Base constructor - parameters and a source of randomness.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth() |
LMSParameters[] |
getLmsParameters() |
LMSParameters |
getLmsParameters(int index)
The parameters of one level of the hierarchy, 0 being the root;
getDepth() gives the range. |
getRandom, getStrengthpublic HSSKeyGenerationParameters(LMSParameters[] lmsParameters, java.security.SecureRandom random)
lmsParameters - array of LMS parameters, one per level in the hierarchy (up to 8 levels).random - the random byte source.public int getDepth()
public LMSParameters getLmsParameters(int index)
getDepth() gives the range.java.lang.ArrayIndexOutOfBoundsException - if index is outside 0 .. getDepth() - 1.public LMSParameters[] getLmsParameters()