public class LunaKeyPairGeneratorRsa
extends java.security.KeyPairGeneratorSpi
Modifier | Constructor and Description |
---|---|
|
LunaKeyPairGeneratorRsa()
Default to RSA PKCS Key Pair Generation mechanism type.
|
protected |
LunaKeyPairGeneratorRsa(long mechType) |
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 strength,
java.security.SecureRandom random) |
public LunaKeyPairGeneratorRsa()
protected LunaKeyPairGeneratorRsa(long mechType)
public void initialize(int strength, java.security.SecureRandom random)
initialize
in class java.security.KeyPairGeneratorSpi
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 java.security.KeyPair generateKeyPair()
generateKeyPair
in class java.security.KeyPairGeneratorSpi
Copyright 2014-2018 SafeNet. All rights reserved.