public class DHKeyParametersGenerationParameters extends GenericKeyGenerationParameters implements KeyParametersGenerationParameters, KeyGenerationParameters
| Constructor and Description |
|---|
DHKeyParametersGenerationParameters()
New instance using default values.
|
DHKeyParametersGenerationParameters(int strength)
New instance specifying a given key strength.
|
DHKeyParametersGenerationParameters(int strength,
int certainty)
New instance specifying a given key strength.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCertainty() |
getStrengthpublic DHKeyParametersGenerationParameters()
public DHKeyParametersGenerationParameters(int strength)
strength - the strength of the key to generate in bits.public DHKeyParametersGenerationParameters(int strength,
int certainty)
strength - the strength of the key to generate in bits.certainty - the certainty of prime number.Copyright © 2004–2015 XWiki. All rights reserved.