Class XMSSMTTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.pqc.jcajce.provider.test.XMSSMTTest
-
- All Implemented Interfaces:
junit.framework.Test
public class XMSSMTTest extends junit.framework.TestCaseTest cases for the use of XMSS^MT with the BCPQC provider.
-
-
Constructor Summary
Constructors Constructor Description XMSSMTTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtest160PrivateKeyRecovery()voidtestExhaustion()voidtestKeyExtraction()voidtestKeyRebuild()voidtestNoRepeats()voidtestPrehashWithWithout()voidtestPrivateKeyRecovery()voidtestPublicKeyRecovery()voidtestReserialization()voidtestShardedKeyExhaustion()voidtestXMSSMTSha256KeyFactory()voidtestXMSSMTSha256Signature()voidtestXMSSMTSha256SignatureMultiple()voidtestXMSSMTSha512KeyFactory()voidtestXMSSMTSha512Signature()voidtestXMSSMTShake128Signature()voidtestXMSSMTShake256Signature()-
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:
setUpin classjunit.framework.TestCase
-
test160PrivateKeyRecovery
public void test160PrivateKeyRecovery() 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
-
testKeyExtraction
public void testKeyExtraction() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTSha256SignatureMultiple
public void testXMSSMTSha256SignatureMultiple() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTSha512KeyFactory
public void testXMSSMTSha512KeyFactory() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTSha256Signature
public void testXMSSMTSha256Signature() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTSha512Signature
public void testXMSSMTSha512Signature() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTShake128Signature
public void testXMSSMTShake128Signature() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTShake256Signature
public void testXMSSMTShake256Signature() throws java.lang.Exception- Throws:
java.lang.Exception
-
testKeyRebuild
public void testKeyRebuild() throws java.lang.Exception- Throws:
java.lang.Exception
-
testXMSSMTSha256KeyFactory
public void testXMSSMTSha256KeyFactory() throws java.lang.Exception- Throws:
java.lang.Exception
-
testPrehashWithWithout
public void testPrehashWithWithout() throws java.lang.Exception- Throws:
java.lang.Exception
-
testExhaustion
public void testExhaustion() throws java.lang.Exception- Throws:
java.lang.Exception
-
testNoRepeats
public void testNoRepeats() throws java.lang.Exception- Throws:
java.lang.Exception
-
testShardedKeyExhaustion
public void testShardedKeyExhaustion() throws java.lang.Exception- Throws:
java.lang.Exception
-
testReserialization
public void testReserialization() throws java.lang.Exception- Throws:
java.lang.Exception
-
-