Class KeyPairGeneratorSpi
- java.lang.Object
-
- java.security.KeyPairGeneratorSpi
-
- java.security.KeyPairGenerator
-
- org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyPairGeneratorSpi
-
public class KeyPairGeneratorSpi extends java.security.KeyPairGenerator
-
-
Constructor Summary
Constructors Constructor Description KeyPairGeneratorSpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.KeyPair
generateKeyPair()
void
initialize(int strength, java.security.SecureRandom random)
void
initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)
-
-
-
Method Detail
-
initialize
public void initialize(int strength, java.security.SecureRandom random)
- Overrides:
initialize
in classjava.security.KeyPairGenerator
-
initialize
public void initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
- Overrides:
initialize
in classjava.security.KeyPairGenerator
- Throws:
java.security.InvalidAlgorithmParameterException
-
generateKeyPair
public java.security.KeyPair generateKeyPair()
- Overrides:
generateKeyPair
in classjava.security.KeyPairGenerator
-
-