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

public abstract class AsymmetricHybridCipherTest extends FlexiTest
Base class for unit tests of AsymmetricHybridCiphers.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Cipher
    the AsymmetricHybridCipher to use for the test
    the KeyPairGenerator to use for the test

    Fields inherited from class org.bouncycastle.pqc.jcajce.provider.test.FlexiTest

    rand, sr
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final void
    performEnDecryptionTest(int numPassesKPG, int numPassesEncDec, int plainTextSize, AlgorithmParameterSpec params)
     

    Methods inherited from class org.bouncycastle.pqc.jcajce.provider.test.FlexiTest

    assertEquals, assertEquals, assertEquals, assertEquals, fail, setUp

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • AsymmetricHybridCipherTest

      public AsymmetricHybridCipherTest()
  • Method Details

    • performEnDecryptionTest

      protected final void performEnDecryptionTest(int numPassesKPG, int numPassesEncDec, int plainTextSize, AlgorithmParameterSpec params)