Class MLKEMKeyGeneratorSpi

    • Constructor Detail

      • MLKEMKeyGeneratorSpi

        public MLKEMKeyGeneratorSpi()
      • MLKEMKeyGeneratorSpi

        protected MLKEMKeyGeneratorSpi​(MLKEMParameters kyberParameters)
    • Method Detail

      • engineInit

        protected void engineInit​(java.security.SecureRandom secureRandom)
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
      • engineInit

        protected void engineInit​(java.security.spec.AlgorithmParameterSpec algorithmParameterSpec,
                                  java.security.SecureRandom secureRandom)
                           throws java.security.InvalidAlgorithmParameterException
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
        Throws:
        java.security.InvalidAlgorithmParameterException
      • engineInit

        protected void engineInit​(int i,
                                  java.security.SecureRandom secureRandom)
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
      • engineGenerateKey

        protected javax.crypto.SecretKey engineGenerateKey()
        Specified by:
        engineGenerateKey in class javax.crypto.KeyGeneratorSpi