Class RSAKeys


  • public class RSAKeys
    extends Object
    • Constructor Detail

      • RSAKeys

        public RSAKeys()
    • Method Detail

      • generateKeyPair

        public static KeyPair generateKeyPair()
                                       throws NoSuchAlgorithmException
        Returns a newly created RSA public/private KeyPair.
        Returns:
        newly created RSA public/private KeyPair
        Throws:
        NoSuchAlgorithmException - thrown if there are no RSA providers available