org.bouncycastle.crypto.test

Class StreamCipherVectorTest

Implemented Interfaces:
Test

public class StreamCipherVectorTest
extends java.lang.Object
implements Test

a basic test that takes a stream cipher, key parameter, and an input and output string.

Constructor Summary

StreamCipherVectorTest(int id, StreamCipher cipher, CipherParameters param, String input, String output)

Method Summary

String
getName()
TestResult
perform()

Constructor Details

StreamCipherVectorTest

public StreamCipherVectorTest(int id,
                              StreamCipher cipher,
                              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