java.lang.Object
cryptix.jce.test.Test
cryptix.jce.test.CipherTest
cryptix.jce.test.TestSerpent
- final class TestSerpent
- extends CipherTest
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 |
NAME
private static final java.lang.String NAME
- See Also:
- Constant Field Values
TEST_VALUES
private static final java.lang.String[][] TEST_VALUES
TestSerpent
protected TestSerpent()
doIt
protected void doIt()
throws java.lang.Exception
- Specified by:
doIt
in class Test
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