Class NewHopeTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.pqc.jcajce.provider.test.NewHopeTest
-
- All Implemented Interfaces:
junit.framework.Test
public class NewHopeTest extends junit.framework.TestCase
Test cases for the use of NewHope (NH) with the BCPQC provider.
-
-
Constructor Summary
Constructors Constructor Description NewHopeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testKeyExchange()
void
testPrivateKeyRecovery()
void
testPublicKeyRecovery()
-
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
-
-
-
-
Method Detail
-
setUp
public void setUp()
- Overrides:
setUp
in classjunit.framework.TestCase
-
testKeyExchange
public void testKeyExchange() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPrivateKeyRecovery
public void testPrivateKeyRecovery() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPublicKeyRecovery
public void testPublicKeyRecovery() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-