Class NewSMIMESignedTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.mail.smime.test.NewSMIMESignedTest
All Implemented Interfaces:
junit.framework.Test

public class NewSMIMESignedTest extends junit.framework.TestCase
  • Constructor Details

    • NewSMIMESignedTest

      public NewSMIMESignedTest(String name)
  • Method Details

    • main

      public static void main(String[] args)
    • suite

      public static junit.framework.Test suite()
    • testHeaders

      public void testHeaders() throws Exception
      Throws:
      Exception
    • testHeadersEncapsulated

      public void testHeadersEncapsulated() throws Exception
      Throws:
      Exception
    • testMultipartTextText

      public void testMultipartTextText() throws Exception
      Throws:
      Exception
    • testMultipartTextBinary

      public void testMultipartTextBinary() throws Exception
      Throws:
      Exception
    • testMultipartBinaryText

      public void testMultipartBinaryText() throws Exception
      Throws:
      Exception
    • testMultipartBinaryBinary

      public void testMultipartBinaryBinary() throws Exception
      Throws:
      Exception
    • testSHA1WithRSAPSS

      public void testSHA1WithRSAPSS() throws Exception
      Throws:
      Exception
    • testSHA224WithRSAPSS

      public void testSHA224WithRSAPSS() throws Exception
      Throws:
      Exception
    • testSHA256WithRSAPSS

      public void testSHA256WithRSAPSS() throws Exception
      Throws:
      Exception
    • testSHA384WithRSAPSS

      public void testSHA384WithRSAPSS() throws Exception
      Throws:
      Exception
    • multipartMixedTest

      public void multipartMixedTest(javax.mail.internet.MimeBodyPart part1, javax.mail.internet.MimeBodyPart part2) throws Exception
      Throws:
      Exception
    • testSHA1WithRSA

      public void testSHA1WithRSA() throws Exception
      Throws:
      Exception
    • testSHA1WithRSAAddSigners

      public void testSHA1WithRSAAddSigners() throws Exception
      Throws:
      Exception
    • testMD5WithRSAAddSignersSHA1

      public void testMD5WithRSAAddSignersSHA1() throws Exception
      Throws:
      Exception
    • testSHA1WithRSACanonicalization

      public void testSHA1WithRSACanonicalization() throws Exception
      Throws:
      Exception
    • testSHA1WithRSAEncapsulated

      public void testSHA1WithRSAEncapsulated() throws Exception
      Throws:
      Exception
    • testSHA1WithRSAEncapsulatedParser

      public void testSHA1WithRSAEncapsulatedParser() throws Exception
      Throws:
      Exception
    • testSHA1WithRSAEncapsulatedParserAndFile

      public void testSHA1WithRSAEncapsulatedParserAndFile() throws Exception
      Throws:
      Exception
    • testMD5WithRSA

      public void testMD5WithRSA() throws Exception
      Throws:
      Exception
    • testSHA224WithRSA

      public void testSHA224WithRSA() throws Exception
      Throws:
      Exception
    • testSHA224WithRSARfc3851

      public void testSHA224WithRSARfc3851() throws Exception
      Throws:
      Exception
    • testSHA256WithRSA

      public void testSHA256WithRSA() throws Exception
      Throws:
      Exception
    • testSHA256WithRSARfc3851

      public void testSHA256WithRSARfc3851() throws Exception
      Throws:
      Exception
    • testSHA384WithRSA

      public void testSHA384WithRSA() throws Exception
      Throws:
      Exception
    • testSHA384WithRSARfc3851

      public void testSHA384WithRSARfc3851() throws Exception
      Throws:
      Exception
    • testSHA512WithRSA

      public void testSHA512WithRSA() throws Exception
      Throws:
      Exception
    • testSHA512WithRSARfc3851

      public void testSHA512WithRSARfc3851() throws Exception
      Throws:
      Exception
    • testRIPEMD160WithRSA

      public void testRIPEMD160WithRSA() throws Exception
      Throws:
      Exception
    • testGOST3411WithGOST3410

      public void testGOST3411WithGOST3410() throws Exception
      Throws:
      Exception
    • testGOST3411WithECGOST3410

      public void testGOST3411WithECGOST3410() throws Exception
      Throws:
      Exception
    • testSHA224WithRSAParser

      public void testSHA224WithRSAParser() throws Exception
      Throws:
      Exception
    • testSHA224WithRSAParserEncryptedWithDES

      public void testSHA224WithRSAParserEncryptedWithDES() throws Exception
      Throws:
      Exception
    • testSHA1withDSA

      public void testSHA1withDSA() throws Exception
      Throws:
      Exception
    • testSHA256WithRSABinary

      public void testSHA256WithRSABinary() throws Exception
      Throws:
      Exception
    • testSHA256WithRSABinaryWithParser

      public void testSHA256WithRSABinaryWithParser() throws Exception
      Throws:
      Exception
    • testWithAttributeCertificate

      public void testWithAttributeCertificate() throws Exception
      Throws:
      Exception
    • testCertificateManagement

      public void testCertificateManagement() throws Exception
      Throws:
      Exception
    • testMimeMultipart

      public void testMimeMultipart() throws Exception
      Throws:
      Exception
    • testMimeMultipartBinaryReader

      public void testMimeMultipartBinaryReader() throws Exception
      Throws:
      Exception
    • testMimeMultipartBinaryParser

      public void testMimeMultipartBinaryParser() throws Exception
      Throws:
      Exception
    • testMimeMultipartBinaryParserGetMimeContent

      public void testMimeMultipartBinaryParserGetMimeContent() throws Exception
      Throws:
      Exception
    • testQuotable

      public void testQuotable() throws Exception
      Throws:
      Exception
    • testQuotableParser

      public void testQuotableParser() throws Exception
      Throws:
      Exception
    • testEmbeddedMulti

      public void testEmbeddedMulti() throws Exception
      Throws:
      Exception
    • testEmbeddedMultiParser

      public void testEmbeddedMultiParser() throws Exception
      Throws:
      Exception
    • testPSSVariantSalt

      public void testPSSVariantSalt() throws Exception
      Throws:
      Exception
    • testMultiAlternative

      public void testMultiAlternative() throws Exception
      Throws:
      Exception
    • testExtraNlInPostamble

      public void testExtraNlInPostamble() throws Exception
      Throws:
      Exception
    • testDoubleNlCanonical

      public void testDoubleNlCanonical() throws Exception
      Throws:
      Exception
    • testSignAttachmentOnly

      public void testSignAttachmentOnly() throws Exception
      Throws:
      Exception
    • testMultiAlternativeParser

      public void testMultiAlternativeParser() throws Exception
      Throws:
      Exception
    • testBasicAS2

      public void testBasicAS2() throws Exception
      Throws:
      Exception
    • testBasicAS2Parser

      public void testBasicAS2Parser() throws Exception
      Throws:
      Exception
    • testRawAS2Parser

      public void testRawAS2Parser() throws Exception
      Throws:
      Exception