Class KeyPairGeneratorSpi.EC

    • Constructor Detail

      • EC

        public EC()
    • Method Detail

      • initialize

        public void initialize​(int strength,
                               java.security.SecureRandom random)
        Overrides:
        initialize in class java.security.KeyPairGenerator
      • initialize

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

        public java.security.KeyPair generateKeyPair()
        Overrides:
        generateKeyPair in class java.security.KeyPairGenerator
      • createKeyGenParamsJCE

        protected ECKeyGenerationParameters createKeyGenParamsJCE​(java.security.spec.ECParameterSpec p,
                                                                  java.security.SecureRandom r)
      • createNamedCurveSpec

        protected ECNamedCurveSpec createNamedCurveSpec​(java.lang.String curveName)
                                                 throws java.security.InvalidAlgorithmParameterException
        Throws:
        java.security.InvalidAlgorithmParameterException
      • initializeNamedCurve

        protected void initializeNamedCurve​(java.lang.String curveName,
                                            java.security.SecureRandom random)
                                     throws java.security.InvalidAlgorithmParameterException
        Throws:
        java.security.InvalidAlgorithmParameterException