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.TestCase
Test 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 void
setUp()
void
test160PrivateKeyRecovery()
void
testExhaustion()
void
testKeyExtraction()
void
testKeyRebuild()
void
testNoRepeats()
void
testPrehashWithWithout()
void
testPrivateKeyRecovery()
void
testPublicKeyRecovery()
void
testReserialization()
void
testShardedKeyExhaustion()
void
testXMSSMTSha256KeyFactory()
void
testXMSSMTSha256Signature()
void
testXMSSMTSha256SignatureMultiple()
void
testXMSSMTSha512KeyFactory()
void
testXMSSMTSha512Signature()
void
testXMSSMTShake128Signature()
void
testXMSSMTShake256Signature()
-
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
-
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
-
-