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)  

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • initialize

      public void initialize​(int keysize, java.security.SecureRandom random)
      Specified by:
      initialize in class java.security.KeyPairGeneratorSpi
    • initialize

      public void initialize​(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
      Overrides:
      initialize in class java.security.KeyPairGeneratorSpi
      Throws:
      java.security.InvalidAlgorithmParameterException
    • generateKeyPair

      public java.security.KeyPair generateKeyPair()
      Specified by:
      generateKeyPair in class java.security.KeyPairGeneratorSpi
    • finalize

      protected void finalize() throws java.lang.Throwable
      Overrides:
      finalize in class java.lang.Object
      Throws:
      java.lang.Throwable