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 voidmain(java.lang.String[] args)voidsetUp()static junit.framework.Testsuite()voidtestAES128()voidtestAES128Encrypted()voidtestAES192()voidtestAES192Encrypted()voidtestAES256()voidtestAES256Encrypted()voidtestCapEncrypt()voidtestCASTEncrypted()voidtestDESEDE3Encrypted()voidtestDotNetEncMailMatch()voidtestHeaders()voidtestIDEAEncrypted()voidtestKDFAgreements()voidtestParserDESEDE3Encrypted()voidtestRC2Encrypted()voidtestSubKeyId()voidtestTwoRecipients()-
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:
setUpin 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
-
-