Class SphincsPlusTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class SphincsPlusTest
    extends junit.framework.TestCase
    Test cases for the use of SPHINCS+ with the BCPQC provider.
    • Constructor Summary

      Constructors 
      Constructor Description
      SphincsPlusTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setUp()  
      void testPrivateKeyRecovery()  
      void testPublicKeyRecovery()  
      void testSphincsDeterministicSigSHA2()  
      void testSphincsRandomSigSHA2()  
      void testSphincsRandomSigSHAKE()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SphincsPlusTest

        public SphincsPlusTest()
    • Method Detail

      • setUp

        public void setUp()
        Overrides:
        setUp in class junit.framework.TestCase
      • testPrivateKeyRecovery

        public void testPrivateKeyRecovery()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPublicKeyRecovery

        public void testPublicKeyRecovery()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSphincsRandomSigSHA2

        public void testSphincsRandomSigSHA2()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSphincsDeterministicSigSHA2

        public void testSphincsDeterministicSigSHA2()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSphincsRandomSigSHAKE

        public void testSphincsRandomSigSHAKE()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception