Bouncy Castle Cryptography Library 1.65

org.bouncycastle.crypto.test
Class BlockCipherVectorTest

java.lang.Object
  |
  +--org.bouncycastle.util.test.SimpleTest
        |
        +--org.bouncycastle.crypto.test.BlockCipherVectorTest
All Implemented Interfaces:
Test

public class BlockCipherVectorTest
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.


Constructor Summary
BlockCipherVectorTest(int id, BlockCipher engine, CipherParameters param, java.lang.String input, java.lang.String output)
           
 
Method Summary
 java.lang.String getName()
           
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockCipherVectorTest

public BlockCipherVectorTest(int id,
                             BlockCipher engine,
                             CipherParameters param,
                             java.lang.String input,
                             java.lang.String output)
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Overrides:
performTest in class SimpleTest

Bouncy Castle Cryptography Library 1.65