Class AsymmetricHybridCipherTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.pqc.jcajce.provider.test.FlexiTest
org.bouncycastle.pqc.jcajce.provider.test.AsymmetricHybridCipherTest
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
McElieceFujisakiCipherTest,McElieceKobaraImaiCipherTest,McEliecePointchevalCipherTest
Base class for unit tests of
AsymmetricHybridCiphers.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CiphertheAsymmetricHybridCipherto use for the testprotected KeyPairGeneratortheKeyPairGeneratorto use for the test -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidperformEnDecryptionTest(int numPassesKPG, int numPassesEncDec, int plainTextSize, AlgorithmParameterSpec params) Methods inherited from class org.bouncycastle.pqc.jcajce.provider.test.FlexiTest
assertEquals, assertEquals, assertEquals, assertEquals, fail, setUpMethods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
-
Field Details
-
kpg
theKeyPairGeneratorto use for the test -
cipher
theAsymmetricHybridCipherto use for the test
-
-
Constructor Details
-
AsymmetricHybridCipherTest
public AsymmetricHybridCipherTest()
-
-
Method Details
-
performEnDecryptionTest
protected final void performEnDecryptionTest(int numPassesKPG, int numPassesEncDec, int plainTextSize, AlgorithmParameterSpec params)
-