Package 

Class RSAGenerator

  • All Implemented Interfaces:

    
    public class RSAGenerator
    
                        

    RSA KeyPair generator

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static KeyPair generate() Generate an RSA KeyPair with a length of 2048.
      static KeyPair generate(Integer keyLength) Generate an RSA KeyPair
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • generate

         static KeyPair generate()

        Generate an RSA KeyPair with a length of 2048.

      • generate

         static KeyPair generate(Integer keyLength)

        Generate an RSA KeyPair

        Parameters:
        keyLength - The key length in bytes.