Class GMKeyPairGeneratorSpi.BaseSM2

    • Constructor Detail

      • BaseSM2

        public BaseSM2()
    • 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
      • initializeNamedCurve

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