org.bouncycastle.crypto.test

Class BlockCipherVectorTest

Implemented Interfaces:
Test

public class BlockCipherVectorTest
extends java.lang.Object
implements Test

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, String input, String output)

Method Summary

String
getName()
TestResult
perform()

Constructor Details

BlockCipherVectorTest

public BlockCipherVectorTest(int id,
                             BlockCipher engine,
                             CipherParameters param,
                             String input,
                             String output)

Method Details

getName

public String getName()
Specified by:
getName in interface Test


perform

public TestResult perform()
Specified by:
perform in interface Test