org.bouncycastle.jce.provider.test
Class AESTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.BaseBlockCipherTest
org.bouncycastle.jce.provider.test.AESTest
- All Implemented Interfaces:
- Test
public class AESTest
- extends BaseBlockCipherTest
basic test class for the AES cipher vectors from FIPS-197
Field Summary |
(package private) static java.lang.String[] |
cipherTests
|
Method Summary |
private void |
ccmTest()
|
private void |
eaxTest()
|
static void |
main(java.lang.String[] args)
|
void |
performTest()
|
private void |
test(int strength,
byte[] keyBytes,
byte[] input,
byte[] output)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cipherTests
static java.lang.String[] cipherTests
AESTest
public AESTest()
test
private void test(int strength,
byte[] keyBytes,
byte[] input,
byte[] output)
throws java.lang.Exception
- Throws:
java.lang.Exception
eaxTest
private void eaxTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
ccmTest
private void ccmTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest
in class SimpleTest
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)