public class LunaKeyPairGeneratorDh
extends java.security.KeyPairGeneratorSpi
Constructor and Description |
---|
LunaKeyPairGeneratorDh() |
Modifier and Type | Method and Description |
---|---|
java.security.KeyPair |
generateKeyPair() |
void |
initialize(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
Initializes the key pair generator using the specified parameter set.
|
void |
initialize(int keysize,
java.security.SecureRandom random) |
public void initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
random
parameter is ignored.initialize
in class java.security.KeyPairGeneratorSpi
random
- unusedjava.security.InvalidAlgorithmParameterException
public void initialize(int keysize, java.security.SecureRandom random) throws java.security.InvalidParameterException
initialize
in class java.security.KeyPairGeneratorSpi
java.security.InvalidParameterException
public java.security.KeyPair generateKeyPair() throws LunaException
generateKeyPair
in class java.security.KeyPairGeneratorSpi
LunaException
Copyright 2014-2018 SafeNet. All rights reserved.