org.bouncycastle.jce.provider.test
Class BlockCipherTest
java.lang.Object
|
+--org.bouncycastle.jce.provider.test.BlockCipherTest
- All Implemented Interfaces:
- Test
- public class BlockCipherTest
- extends java.lang.Object
- implements Test
basic test class for a block cipher, basically this just exercises the provider, and makes sure we
are behaving sensibly, correctness of the implementation is shown in the lightweight test classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockCipherTest
public BlockCipherTest()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
test
public TestResult test(java.lang.String algorithm,
byte[] input,
byte[] output)
perform
public TestResult perform()
- Specified by:
perform
in interface Test
main
public static void main(java.lang.String[] args)