Class PBETest

java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.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 Details

    • PBETest

      public PBETest()
  • Method Details

    • testPBEHMac

      public void testPBEHMac(String hmacName, byte[] output)
    • testPKCS12HMac

      public void testPKCS12HMac(String hmacName, byte[] output)
    • testPBEonSecretKeyHmac

      public void testPBEonSecretKeyHmac(String hmacName, byte[] output)
    • testNullSalt

      public void testNullSalt() throws Exception
      Throws:
      Exception
    • performTest

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

      public void testMixedKeyTypes() throws Exception
      Throws:
      Exception
    • getName

      public String getName()
      Specified by:
      getName in interface Test
      Specified by:
      getName in class SimpleTest
    • main

      public static void main(String[] args)