Class KeyGeneratorTest


  • public class KeyGeneratorTest
    extends java.lang.Object
    • Constructor Detail

      • KeyGeneratorTest

        public KeyGeneratorTest()
    • Method Detail

      • testInvalidAlgorithm

        public void testInvalidAlgorithm()
                                  throws java.lang.Exception
        Ensure invalid algorithms are handled correctly
        Throws:
        java.lang.Exception
      • testInvalidParameter

        public void testInvalidParameter()
                                  throws java.lang.Exception
        Ensure invalid parameters (key size in bits) are handled correctly
        Throws:
        java.lang.Exception
      • testAESKeyGeneration

        public void testAESKeyGeneration()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception