public class LunaKeyPairGeneratorDh extends KeyPairGeneratorSpi
| Constructor and Description |
|---|
LunaKeyPairGeneratorDh() |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
generateKeyPair() |
void |
initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initializes the key pair generator using the specified parameter set.
|
void |
initialize(int keysize,
SecureRandom random) |
public void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException
random
parameter is ignored.initialize in class KeyPairGeneratorSpirandom - unusedInvalidAlgorithmParameterExceptionpublic void initialize(int keysize,
SecureRandom random)
throws InvalidParameterException
initialize in class KeyPairGeneratorSpiInvalidParameterExceptionpublic KeyPair generateKeyPair() throws LunaException
generateKeyPair in class KeyPairGeneratorSpiLunaExceptionCopyright 2014-2016 SafeNet Inc