java.lang.Object
cryptix.jce.test.Test
cryptix.jce.test.CipherTest
- Direct Known Subclasses:
- TestBlowfish, TestCAST5, TestDES, TestIDEA, TestMARS, TestNull, TestRC2, TestRC4, TestRC6, TestRijndael, TestSerpent, TestSKIPJACK, TestSquare, TestTripleDES, TestTripleDESInnerCBC, TestTwofish
- abstract class CipherTest
- extends Test
Fields inherited from class cryptix.jce.test.Test |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
random
private static java.security.SecureRandom random
alg
private final java.lang.String alg
testStreamCipher
private final boolean testStreamCipher
CipherTest
protected CipherTest(java.lang.String name)
CipherTest
protected CipherTest(java.lang.String name,
boolean testStreamCipher)
testExistence
protected void testExistence(java.lang.String alg)
throws java.lang.Exception
testValuesCFB
protected void testValuesCFB(java.lang.String alg,
java.lang.String[][] testValues)
throws java.lang.Exception
testValuesECB
protected void testValuesECB(java.lang.String alg,
java.lang.String[][] testValues)
throws java.lang.Exception
testKeyGenExistence
protected void testKeyGenExistence(java.lang.String alg)
throws java.lang.Exception
testKeyGenWorks
protected void testKeyGenWorks(java.lang.String alg)
throws java.lang.Exception
- Test whether the KeyGenerator for this algorithm works.
Try and generate a lot of keys and for each key test
whether x = Dk(Ek(x)).
testCipher
protected void testCipher(java.lang.String[][] testValues)
throws java.lang.Exception