Package org.bouncycastle.crypto.test
Class GCMTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.crypto.test.GCMTest
-
- All Implemented Interfaces:
Test
public class GCMTest extends SimpleTest
Test vectors from "The Galois/Counter Mode of Operation (GCM)", McGrew/Viega, Appendix B
-
-
Constructor Summary
Constructors Constructor Description GCMTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlockCipher
createAESEngine()
java.lang.String
getName()
static void
main(java.lang.String[] args)
void
performTest()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
public void performTest() throws java.lang.Exception
- Specified by:
performTest
in classSimpleTest
- Throws:
java.lang.Exception
-
createAESEngine
protected BlockCipher createAESEngine()
-
main
public static void main(java.lang.String[] args)
-
-