Package org.bouncycastle.crypto.test
Class AEADTestUtil
- java.lang.Object
-
- org.bouncycastle.crypto.test.AEADTestUtil
-
public class AEADTestUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AEADTestUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
testBufferSizeChecks(Test test, AEADBlockCipher cipher, AEADParameters params)
static void
testOutputSizes(Test test, AEADBlockCipher cipher, AEADParameters params)
static void
testReset(Test test, AEADBlockCipher cipher1, AEADBlockCipher cipher2, CipherParameters params)
static void
testTampering(Test test, AEADBlockCipher cipher, CipherParameters params)
-
-
-
Method Detail
-
testTampering
public static void testTampering(Test test, AEADBlockCipher cipher, CipherParameters params) throws InvalidCipherTextException
- Throws:
InvalidCipherTextException
-
testReset
public static void testReset(Test test, AEADBlockCipher cipher1, AEADBlockCipher cipher2, CipherParameters params) throws InvalidCipherTextException
- Throws:
InvalidCipherTextException
-
testOutputSizes
public static void testOutputSizes(Test test, AEADBlockCipher cipher, AEADParameters params) throws java.lang.IllegalStateException, InvalidCipherTextException
- Throws:
java.lang.IllegalStateException
InvalidCipherTextException
-
testBufferSizeChecks
public static void testBufferSizeChecks(Test test, AEADBlockCipher cipher, AEADParameters params) throws java.lang.IllegalStateException, InvalidCipherTextException
- Throws:
java.lang.IllegalStateException
InvalidCipherTextException
-
-