Class PBETest

  • All Implemented Interfaces:
    Test

    public class PBETest
    extends SimpleTest
    test out the various PBE modes, making sure the JCE implementations are compatible woth the light weight ones.
    • Constructor Detail

      • PBETest

        public PBETest()
    • Method Detail

      • testPBEHMac

        public void testPBEHMac​(java.lang.String hmacName,
                                byte[] output)
      • testPKCS12HMac

        public void testPKCS12HMac​(java.lang.String hmacName,
                                   byte[] output)
      • testPBEonSecretKeyHmac

        public void testPBEonSecretKeyHmac​(java.lang.String hmacName,
                                           byte[] output)
      • testNullSalt

        public void testNullSalt()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • performTest

        public void performTest()
                         throws java.lang.Exception
        Specified by:
        performTest in class SimpleTest
        Throws:
        java.lang.Exception
      • testMixedKeyTypes

        public void testMixedKeyTypes()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)