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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
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
-
Constructor Details
-
XMSSTest
public XMSSTest()
-
-
Method Details
-
testAuthPath
public void testAuthPath() -
testGenKeyPairSHA256
- Throws:
Exception
-
testGenKeyPairSHA512
- Throws:
Exception
-
testSignSHA256
public void testSignSHA256() -
testSignSHA256CompleteEvenHeight1
public void testSignSHA256CompleteEvenHeight1() -
testSignSHA256CompleteEvenHeight2
public void testSignSHA256CompleteEvenHeight2() -
testSignSHA512
public void testSignSHA512() -
testVerifySignatureSHA256
- Throws:
Exception
-
testVerifySignatureSHA512
- Throws:
Exception
-
testImportStateSHA256
- Throws:
IOException
ClassNotFoundException
-
testImportKeysSHA512
- Throws:
IOException
ClassNotFoundException
-
testRandom
- Throws:
IOException
ClassNotFoundException
-
testBDSImport
- Throws:
IOException
ClassNotFoundException
-