Package com.wolfssl.provider.jce
Class WolfCryptKeyPairGenerator
java.lang.Object
java.security.KeyPairGeneratorSpi
com.wolfssl.provider.jce.WolfCryptKeyPairGenerator
- Direct Known Subclasses:
WolfCryptKeyPairGenerator.wcKeyPairGenDH
,WolfCryptKeyPairGenerator.wcKeyPairGenECC
public class WolfCryptKeyPairGenerator
extends java.security.KeyPairGeneratorSpi
wolfCrypt JCE KeyPairGenerator wrapper class
- Version:
- 1.0, March 2017
- Author:
- wolfSSL
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WolfCryptKeyPairGenerator.wcKeyPairGenDH
static class
WolfCryptKeyPairGenerator.wcKeyPairGenECC
-
Method Summary
Modifier and Type Method Description protected void
finalize()
java.security.KeyPair
generateKeyPair()
void
initialize(int keysize, java.security.SecureRandom random)
void
initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)
-
Method Details
-
initialize
public void initialize(int keysize, java.security.SecureRandom random)- Specified by:
initialize
in classjava.security.KeyPairGeneratorSpi
-
initialize
public void initialize(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException- Overrides:
initialize
in classjava.security.KeyPairGeneratorSpi
- Throws:
java.security.InvalidAlgorithmParameterException
-
generateKeyPair
public java.security.KeyPair generateKeyPair()- Specified by:
generateKeyPair
in classjava.security.KeyPairGeneratorSpi
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-