Package org.bouncycastle.mail.smime.test
Class NewSMIMEEnvelopedTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.mail.smime.test.NewSMIMEEnvelopedTest
-
- All Implemented Interfaces:
junit.framework.Test
public class NewSMIMEEnvelopedTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description NewSMIMEEnvelopedTest(java.lang.String name)
-
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
testAES128()
void
testAES128Encrypted()
void
testAES192()
void
testAES192Encrypted()
void
testAES256()
void
testAES256Encrypted()
void
testCapEncrypt()
void
testCASTEncrypted()
void
testDESEDE3Encrypted()
void
testDotNetEncMailMatch()
void
testHeaders()
void
testIDEAEncrypted()
void
testKDFAgreements()
void
testParserDESEDE3Encrypted()
void
testRC2Encrypted()
void
testSubKeyId()
void
testTwoRecipients()
-
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
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
suite
public static junit.framework.Test suite() throws java.lang.Exception
- Throws:
java.lang.Exception
-
setUp
public void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
testHeaders
public void testHeaders() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDESEDE3Encrypted
public void testDESEDE3Encrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testParserDESEDE3Encrypted
public void testParserDESEDE3Encrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIDEAEncrypted
public void testIDEAEncrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRC2Encrypted
public void testRC2Encrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCASTEncrypted
public void testCASTEncrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES128Encrypted
public void testAES128Encrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES192Encrypted
public void testAES192Encrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES256Encrypted
public void testAES256Encrypted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSubKeyId
public void testSubKeyId() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDotNetEncMailMatch
public void testDotNetEncMailMatch() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES128
public void testAES128() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES192
public void testAES192() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAES256
public void testAES256() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCapEncrypt
public void testCapEncrypt() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTwoRecipients
public void testTwoRecipients() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testKDFAgreements
public void testKDFAgreements() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-