Package org.bouncycastle.mail.smime.test
Class JournalingSecureRandomEncryptTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.mail.smime.test.JournalingSecureRandomEncryptTest
-
- All Implemented Interfaces:
junit.framework.Test
public class JournalingSecureRandomEncryptTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description JournalingSecureRandomEncryptTest()
-
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
-
-
-
-
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
-
-