Class AsymmetricHybridCipherTest
- java.lang.Object
-
- TestCase
-
- org.bouncycastle.pqc.jcajce.provider.test.FlexiTest
-
- org.bouncycastle.pqc.jcajce.provider.test.AsymmetricHybridCipherTest
-
- Direct Known Subclasses:
McElieceFujisakiCipherTest
,McElieceKobaraImaiCipherTest
,McEliecePointchevalCipherTest
public abstract class AsymmetricHybridCipherTest extends FlexiTest
Base class for unit tests ofAsymmetricHybridCipher
s.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.crypto.Cipher
cipher
theAsymmetricHybridCipher
to use for the testprotected java.security.KeyPairGenerator
kpg
theKeyPairGenerator
to use for the test
-
Constructor Summary
Constructors Constructor Description AsymmetricHybridCipherTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performEnDecryptionTest(int numPassesKPG, int numPassesEncDec, int plainTextSize, java.security.spec.AlgorithmParameterSpec params)
-
Methods inherited from class org.bouncycastle.pqc.jcajce.provider.test.FlexiTest
assertEquals, assertEquals, assertEquals, assertEquals, fail, setUp
-
-
-
-
Field Detail
-
kpg
protected java.security.KeyPairGenerator kpg
theKeyPairGenerator
to use for the test
-
cipher
protected javax.crypto.Cipher cipher
theAsymmetricHybridCipher
to use for the test
-
-