Class NewAuthenticatedDataTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class NewAuthenticatedDataTest
    extends junit.framework.TestCase
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean DEBUG  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void setUp()  
      static junit.framework.Test suite()  
      void testAES256CCM()  
      void testCMSAlgorithmProtection()  
      void testECKeyAgree()  
      void testEncoding()  
      void testKEKDESede()  
      void testKEKDESedeWithDigest()  
      void testKeyTransDESede()  
      void testKeyTransDESedeWithDigest()  
      void testKeyTransRC2()  
      void testOriginatorInfo()  
      void testPasswordAES256()  
      • 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
    • Field Detail

      • DEBUG

        public boolean DEBUG
    • Constructor Detail

      • NewAuthenticatedDataTest

        public NewAuthenticatedDataTest​(java.lang.String name)
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)
      • suite

        public static junit.framework.Test suite()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKeyTransDESede

        public void testKeyTransDESede()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKeyTransDESedeWithDigest

        public void testKeyTransDESedeWithDigest()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKeyTransRC2

        public void testKeyTransRC2()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKEKDESede

        public void testKEKDESede()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKEKDESedeWithDigest

        public void testKEKDESedeWithDigest()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPasswordAES256

        public void testPasswordAES256()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testECKeyAgree

        public void testECKeyAgree()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEncoding

        public void testEncoding()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOriginatorInfo

        public void testOriginatorInfo()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAES256CCM

        public void testAES256CCM()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCMSAlgorithmProtection

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