org.bouncycastle.jce.provider.test

Class AESTest

Implemented Interfaces:
Test

public class AESTest
extends java.lang.Object
implements Test

basic test class for the AES cipher vectors from FIPS-197

Method Summary

String
getName()
static void
main(String[] args)
TestResult
perform()
TestResult
test(int strength, byte[] keyBytes, 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[] keyBytes,
                       byte[] input,
                       byte[] output)