|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.bouncycastle.pqc.crypto.test.FalconTest
| Constructor Summary | |
FalconTest()
|
|
| Method Summary | |
void |
testPublicKeyDerivationWithoutStoredPublicKey()
github #2297: when only the private encoding (f ‖ g ‖ F) was persisted — no public key bytes, no key-generation seed — the public key h must be recomputed from the private polynomials (h = g * f^-1 mod q) by the fall-back. |
void |
testPublicKeyRecoveryFromPrivateKey()
github #2297: FalconPrivateKeyParameters.getPublicKeyParameters() should return a FalconPublicKeyParameters whose encoded form matches the keypair's original public key, and a signature produced under the private key must verify under the recovered public key. |
void |
testRandom()
|
void |
testVectors()
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
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, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FalconTest()
| Method Detail |
public void testVectors()
throws java.lang.Exception
java.lang.Exception
public void testRandom()
throws java.lang.Exception
java.lang.Exception
public void testPublicKeyRecoveryFromPrivateKey()
throws java.lang.Exception
java.lang.Exception
public void testPublicKeyDerivationWithoutStoredPublicKey()
throws java.lang.Exception
java.lang.Exception
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||