Package org.bouncycastle.mail.smime.test
Class NewSMIMESignedTest
- java.lang.Object
-
- TestCase
-
- org.bouncycastle.mail.smime.test.NewSMIMESignedTest
-
public class NewSMIMESignedTest extends TestCase
-
-
Constructor Summary
Constructors Constructor Description NewSMIMESignedTest(java.lang.String name)
-
Method Summary
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
suite
public static Test suite()
-
testHeaders
public void testHeaders() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testHeadersEncapsulated
public void testHeadersEncapsulated() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultipartTextText
public void testMultipartTextText() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultipartTextBinary
public void testMultipartTextBinary() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultipartBinaryText
public void testMultipartBinaryText() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultipartBinaryBinary
public void testMultipartBinaryBinary() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSAPSS
public void testSHA1WithRSAPSS() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA224WithRSAPSS
public void testSHA224WithRSAPSS() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA256WithRSAPSS
public void testSHA256WithRSAPSS() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA384WithRSAPSS
public void testSHA384WithRSAPSS() throws java.lang.Exception
- Throws:
java.lang.Exception
-
multipartMixedTest
public void multipartMixedTest(javax.mail.internet.MimeBodyPart part1, javax.mail.internet.MimeBodyPart part2) throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSA
public void testSHA1WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSAAddSigners
public void testSHA1WithRSAAddSigners() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMD5WithRSAAddSignersSHA1
public void testMD5WithRSAAddSignersSHA1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSACanonicalization
public void testSHA1WithRSACanonicalization() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulated
public void testSHA1WithRSAEncapsulated() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulatedParser
public void testSHA1WithRSAEncapsulatedParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulatedParserAndFile
public void testSHA1WithRSAEncapsulatedParserAndFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMD5WithRSA
public void testMD5WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA224WithRSA
public void testSHA224WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA224WithRSARfc3851
public void testSHA224WithRSARfc3851() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA256WithRSA
public void testSHA256WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA256WithRSARfc3851
public void testSHA256WithRSARfc3851() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA384WithRSA
public void testSHA384WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA384WithRSARfc3851
public void testSHA384WithRSARfc3851() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA512WithRSA
public void testSHA512WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA512WithRSARfc3851
public void testSHA512WithRSARfc3851() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRIPEMD160WithRSA
public void testRIPEMD160WithRSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGOST3411WithGOST3410
public void testGOST3411WithGOST3410() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGOST3411WithECGOST3410
public void testGOST3411WithECGOST3410() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA224WithRSAParser
public void testSHA224WithRSAParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA224WithRSAParserEncryptedWithDES
public void testSHA224WithRSAParserEncryptedWithDES() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA1withDSA
public void testSHA1withDSA() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA256WithRSABinary
public void testSHA256WithRSABinary() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSHA256WithRSABinaryWithParser
public void testSHA256WithRSABinaryWithParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testWithAttributeCertificate
public void testWithAttributeCertificate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCertificateManagement
public void testCertificateManagement() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMimeMultipart
public void testMimeMultipart() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMimeMultipartBinaryReader
public void testMimeMultipartBinaryReader() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMimeMultipartBinaryParser
public void testMimeMultipartBinaryParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMimeMultipartBinaryParserGetMimeContent
public void testMimeMultipartBinaryParserGetMimeContent() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testQuotable
public void testQuotable() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testQuotableParser
public void testQuotableParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmbeddedMulti
public void testEmbeddedMulti() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEmbeddedMultiParser
public void testEmbeddedMultiParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPSSVariantSalt
public void testPSSVariantSalt() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultiAlternative
public void testMultiAlternative() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testExtraNlInPostamble
public void testExtraNlInPostamble() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDoubleNlCanonical
public void testDoubleNlCanonical() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSignAttachmentOnly
public void testSignAttachmentOnly() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMultiAlternativeParser
public void testMultiAlternativeParser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testBasicAS2
public void testBasicAS2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testBasicAS2Parser
public void testBasicAS2Parser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRawAS2Parser
public void testRawAS2Parser() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-