Class KeyPairGeneratorSpi

    • Method Detail

      • initialize

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

        public void initialize​(java.security.spec.AlgorithmParameterSpec paramSpec,
                               java.security.SecureRandom secureRandom)
                        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