org.bouncycastle.jce.provider.test

Class DESedeTest

Implemented Interfaces:
org.bouncycastle.util.test.Test

public class DESedeTest
extends org.bouncycastle.util.test.SimpleTest

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)
void
performTest()
void
test(int strength, byte[] input, byte[] output)

Methods inherited from class org.bouncycastle.util.test.SimpleTest

areEqual, fail, fail, fail, getName, perform, performTest, runTest, runTest

Method Details

getName

public String getName()
Specified by:
getName in interface org.bouncycastle.util.test.Test
Overrides:
getName in interface org.bouncycastle.util.test.SimpleTest

main

public static void main(String[] args)

performTest

public void performTest()
Overrides:
performTest in interface org.bouncycastle.util.test.SimpleTest

test

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