Class XMSSTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.pqc.jcajce.provider.test.XMSSTest
-
- All Implemented Interfaces:
junit.framework.Test
public class XMSSTest extends junit.framework.TestCase
Test cases for the use of XMSS with the BCPQC provider.
-
-
Constructor Summary
Constructors Constructor Description XMSSTest()
-
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
testXMSSSha256KeyFactory()
void
testXMSSSha256Signature()
void
testXMSSSha256SignatureMultiplePreHash()
void
testXMSSSha512KeyFactory()
void
testXMSSSha512Signature()
void
testXMSSShake128KeyFactory()
void
testXMSSShake128Signature()
void
testXMSSShake256KeyFactory()
void
testXMSSShake256Signature()
-
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
-
testXMSSSha256Signature
public void testXMSSSha256Signature() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSSha512Signature
public void testXMSSSha512Signature() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSShake128Signature
public void testXMSSShake128Signature() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSShake256Signature
public void testXMSSShake256Signature() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSSha256SignatureMultiplePreHash
public void testXMSSSha256SignatureMultiplePreHash() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSSha256KeyFactory
public void testXMSSSha256KeyFactory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSSha512KeyFactory
public void testXMSSSha512KeyFactory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSShake128KeyFactory
public void testXMSSShake128KeyFactory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testXMSSShake256KeyFactory
public void testXMSSShake256KeyFactory() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyExtraction
public void testKeyExtraction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKeyRebuild
public void testKeyRebuild() 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
-
testShardedKeyExhaustion
public void testShardedKeyExhaustion() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNoRepeats
public void testNoRepeats() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testReserialization
public void testReserialization() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-