Package org.bouncycastle.pqc.crypto.test
Class NTRUEncryptTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.pqc.crypto.test.NTRUEncryptTest
-
- All Implemented Interfaces:
junit.framework.Test
public class NTRUEncryptTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description NTRUEncryptTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEncodedKeysFast()
void
testEncodedKeysSlow()
void
testEncryptDecrypt()
-
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, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testEncryptDecrypt
public void testEncryptDecrypt() throws InvalidCipherTextException
- Throws:
InvalidCipherTextException
-
testEncodedKeysSlow
public void testEncodedKeysSlow() throws java.io.IOException, InvalidCipherTextException
- Throws:
java.io.IOException
InvalidCipherTextException
-
testEncodedKeysFast
public void testEncodedKeysFast() throws java.io.IOException, InvalidCipherTextException
- Throws:
java.io.IOException
InvalidCipherTextException
-
-