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 Summary
Constructors Constructor Description PBETest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()static voidmain(java.lang.String[] args)voidperformTest()voidtestMixedKeyTypes()voidtestNullSalt()voidtestPBEHMac(java.lang.String hmacName, byte[] output)voidtestPBEonSecretKeyHmac(java.lang.String hmacName, byte[] output)voidtestPKCS12HMac(java.lang.String hmacName, byte[] output)
-
-
-
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:
performTestin classSimpleTest- Throws:
java.lang.Exception
-
testMixedKeyTypes
public void testMixedKeyTypes() throws java.lang.Exception- Throws:
java.lang.Exception
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceTest- Specified by:
getNamein classSimpleTest
-
main
public static void main(java.lang.String[] args)
-
-