Package org.bouncycastle.pqc.crypto.test
Class XMSSTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.pqc.crypto.test.XMSSTest
-
- All Implemented Interfaces:
junit.framework.Test
public class XMSSTest extends junit.framework.TestCase
Test cases for XMSS class.
-
-
Constructor Summary
Constructors Constructor Description XMSSTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testAuthPath()
void
testBDSImport()
void
testGenKeyPairSHA256()
void
testGenKeyPairSHA512()
void
testImportKeysSHA512()
void
testImportStateSHA256()
void
testRandom()
void
testSignSHA256()
void
testSignSHA256CompleteEvenHeight1()
void
testSignSHA256CompleteEvenHeight2()
void
testSignSHA512()
void
testVerifySignatureSHA256()
void
testVerifySignatureSHA512()
-
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
-
testAuthPath
public void testAuthPath()
-
testGenKeyPairSHA256
public void testGenKeyPairSHA256() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGenKeyPairSHA512
public void testGenKeyPairSHA512() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSignSHA256
public void testSignSHA256()
-
testSignSHA256CompleteEvenHeight1
public void testSignSHA256CompleteEvenHeight1()
-
testSignSHA256CompleteEvenHeight2
public void testSignSHA256CompleteEvenHeight2()
-
testSignSHA512
public void testSignSHA512()
-
testVerifySignatureSHA256
public void testVerifySignatureSHA256() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testVerifySignatureSHA512
public void testVerifySignatureSHA512() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testImportStateSHA256
public void testImportStateSHA256() throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
testImportKeysSHA512
public void testImportKeysSHA512() throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
testRandom
public void testRandom() throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
testBDSImport
public void testBDSImport() throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-