Class 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 Detail

      • XMSSTest

        public XMSSTest()
    • Method Detail

      • setUp

        public void setUp()
        Overrides:
        setUp in class junit.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