Class JournalingSecureRandomEncryptTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class JournalingSecureRandomEncryptTest
    extends junit.framework.TestCase
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.security.cert.X509Certificate makeCertificate​(java.security.KeyPair subKP, java.lang.String _subDN, java.security.KeyPair issKP, java.lang.String _issDN)  
      void testEncryptFullMessage()  
      • 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
      • Methods inherited from class java.lang.Object

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

      • JournalingSecureRandomEncryptTest

        public JournalingSecureRandomEncryptTest()
    • Method Detail

      • makeCertificate

        public static java.security.cert.X509Certificate makeCertificate​(java.security.KeyPair subKP,
                                                                         java.lang.String _subDN,
                                                                         java.security.KeyPair issKP,
                                                                         java.lang.String _issDN)
                                                                  throws java.security.GeneralSecurityException,
                                                                         java.io.IOException,
                                                                         org.bouncycastle.operator.OperatorCreationException
        Throws:
        java.security.GeneralSecurityException
        java.io.IOException
        org.bouncycastle.operator.OperatorCreationException
      • testEncryptFullMessage

        public void testEncryptFullMessage()
                                    throws java.lang.Exception
        Throws:
        java.security.cert.CertificateEncodingException
        org.bouncycastle.cms.CMSException
        java.io.IOException
        java.lang.Exception