Class Sphincs256Test
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.pqc.jcajce.provider.test.Sphincs256Test
-
- All Implemented Interfaces:
junit.framework.Test
public class Sphincs256Test extends junit.framework.TestCase
Test cases for the use of SPHINCS-256 with the BCPQC provider.
-
-
Constructor Summary
Constructors Constructor Description Sphincs256Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testPrivateKeyRecovery()
void
testPublicKeyRecovery()
void
testSphincsDefaultKeyGen()
void
testSphincsDefaultSha2KeyGen()
void
testSphincsDefaultSha3KeyGen()
void
testSphincsRandomSigSHA2()
void
testSphincsRandomSigSHA3()
void
testSphincsSha2Signature()
void
testSphincsSha3Signature()
-
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
-
testSphincsDefaultKeyGen
public void testSphincsDefaultKeyGen() 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
-
testSphincsDefaultSha2KeyGen
public void testSphincsDefaultSha2KeyGen() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSphincsDefaultSha3KeyGen
public void testSphincsDefaultSha3KeyGen() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSphincsSha2Signature
public void testSphincsSha2Signature() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSphincsSha3Signature
public void testSphincsSha3Signature() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSphincsRandomSigSHA3
public void testSphincsRandomSigSHA3() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSphincsRandomSigSHA2
public void testSphincsRandomSigSHA2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-