org.bouncycastle.crypto.test
Class AEADTestUtil
java.lang.Object
org.bouncycastle.crypto.test.AEADTestUtil
- public class AEADTestUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AEADTestUtil
public AEADTestUtil()
testTampering
public static void testTampering(Test test,
AEADCipher cipher,
CipherParameters params)
throws InvalidCipherTextException
- Throws:
InvalidCipherTextException
testReset
public static void testReset(Test test,
AEADCipher 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