org.bouncycastle.jce.provider.test

Class DESedeTest

Implemented Interfaces:
Test

public class DESedeTest
extends java.lang.Object
implements Test

basic test class for key generation for a DES-EDE 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.

Method Summary

String
getName()
static void
main(String[] args)
TestResult
perform()
TestResult
test(int strength, byte[] input, byte[] output)

Method Details

getName

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


main

public static void main(String[] args)


perform

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


test

public TestResult test(int strength,
                       byte[] input,
                       byte[] output)