org.bouncycastle.crypto.test
Class BlockCipherMonteCarloTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.crypto.test.BlockCipherMonteCarloTest
- All Implemented Interfaces:
- Test
- public class BlockCipherMonteCarloTest
- extends SimpleTest
a basic test that takes a cipher, key parameter, and an input
and output string. This test wraps the engine in a buffered block
cipher with padding disabled.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockCipherMonteCarloTest
public BlockCipherMonteCarloTest(int id,
int iterations,
BlockCipher engine,
CipherParameters param,
java.lang.String input,
java.lang.String output)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Test
- Specified by:
getName
in class SimpleTest
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest
in class SimpleTest
- Throws:
java.lang.Exception