Bouncy Castle Cryptography Library 1.69

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
GCMTest()
           
 
Method Summary
protected  BlockCipher createAESEngine()
           
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCMTest

public GCMTest()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Overrides:
performTest in class SimpleTest

createAESEngine

protected BlockCipher createAESEngine()

main

public static void main(java.lang.String[] args)

Bouncy Castle Cryptography Library 1.69