org.bouncycastle.mail.smime.test

Class SMIMESignedTest


public class SMIMESignedTest
extends TestCase

Constructor Summary

SMIMESignedTest(String name)

Method Summary

static void
main(args[] )
void
multipartMixedTest(MimeBodyPart part1, MimeBodyPart part2)
static Test
suite()
void
testBasicAS2()
void
testBasicAS2Parser()
void
testCertificateManagement()
void
testEmbeddedMulti()
void
testEmbeddedMultiParser()
void
testGOST3411WithECGOST3410()
void
testGOST3411WithGOST3410()
void
testHeaders()
void
testHeadersEncapsulated()
void
testMD5WithRSA()
void
testMimeMultipart()
void
testMimeMultipartBinaryParser()
void
testMimeMultipartBinaryParserGetMimeContent()
void
testMimeMultipartBinaryReader()
void
testMultipartBinaryBinary()
void
testMultipartBinaryText()
void
testMultipartTextBinary()
void
testMultipartTextText()
void
testQuotable()
void
testQuotableParser()
void
testRIPEMD160WithRSA()
void
testSHA1WithRSA()
void
testSHA1WithRSAAddSigners()
void
testSHA1WithRSACanonicalization()
void
testSHA1WithRSAEncapsulated()
void
testSHA1WithRSAEncapsulatedParser()
void
testSHA1WithRSAEncapsulatedParserAndFile()
void
testSHA1withDSA()
void
testSHA224WithRSA()
void
testSHA224WithRSAParser()
void
testSHA224WithRSAParserEncryptedWithDES()
void
testSHA256WithRSA()
void
testSHA256WithRSABinary()
void
testSHA256WithRSABinaryWithParser()
void
testSHA384WithRSA()
void
testSHA512WithRSA()
void
testWithAttributeCertificate()

Constructor Details

SMIMESignedTest

public SMIMESignedTest(String name)

Method Details

main

public static void main(args[] )

multipartMixedTest

public void multipartMixedTest(MimeBodyPart part1,
                               MimeBodyPart part2)
            throws Exception

suite

public static Test suite()

testBasicAS2

public void testBasicAS2()
            throws Exception

testBasicAS2Parser

public void testBasicAS2Parser()
            throws Exception

testCertificateManagement

public void testCertificateManagement()
            throws Exception

testEmbeddedMulti

public void testEmbeddedMulti()
            throws Exception

testEmbeddedMultiParser

public void testEmbeddedMultiParser()
            throws Exception

testGOST3411WithECGOST3410

public void testGOST3411WithECGOST3410()
            throws Exception

testGOST3411WithGOST3410

public void testGOST3411WithGOST3410()
            throws Exception

testHeaders

public void testHeaders()
            throws Exception

testHeadersEncapsulated

public void testHeadersEncapsulated()
            throws Exception

testMD5WithRSA

public void testMD5WithRSA()
            throws Exception

testMimeMultipart

public void testMimeMultipart()
            throws Exception

testMimeMultipartBinaryParser

public void testMimeMultipartBinaryParser()
            throws Exception

testMimeMultipartBinaryParserGetMimeContent

public void testMimeMultipartBinaryParserGetMimeContent()
            throws Exception

testMimeMultipartBinaryReader

public void testMimeMultipartBinaryReader()
            throws Exception

testMultipartBinaryBinary

public void testMultipartBinaryBinary()
            throws Exception

testMultipartBinaryText

public void testMultipartBinaryText()
            throws Exception

testMultipartTextBinary

public void testMultipartTextBinary()
            throws Exception

testMultipartTextText

public void testMultipartTextText()
            throws Exception

testQuotable

public void testQuotable()
            throws Exception

testQuotableParser

public void testQuotableParser()
            throws Exception

testRIPEMD160WithRSA

public void testRIPEMD160WithRSA()
            throws Exception

testSHA1WithRSA

public void testSHA1WithRSA()
            throws Exception

testSHA1WithRSAAddSigners

public void testSHA1WithRSAAddSigners()
            throws Exception

testSHA1WithRSACanonicalization

public void testSHA1WithRSACanonicalization()
            throws Exception

testSHA1WithRSAEncapsulated

public void testSHA1WithRSAEncapsulated()
            throws Exception

testSHA1WithRSAEncapsulatedParser

public void testSHA1WithRSAEncapsulatedParser()
            throws Exception

testSHA1WithRSAEncapsulatedParserAndFile

public void testSHA1WithRSAEncapsulatedParserAndFile()
            throws Exception

testSHA1withDSA

public void testSHA1withDSA()
            throws Exception

testSHA224WithRSA

public void testSHA224WithRSA()
            throws Exception

testSHA224WithRSAParser

public void testSHA224WithRSAParser()
            throws Exception

testSHA224WithRSAParserEncryptedWithDES

public void testSHA224WithRSAParserEncryptedWithDES()
            throws Exception

testSHA256WithRSA

public void testSHA256WithRSA()
            throws Exception

testSHA256WithRSABinary

public void testSHA256WithRSABinary()
            throws Exception

testSHA256WithRSABinaryWithParser

public void testSHA256WithRSABinaryWithParser()
            throws Exception

testSHA384WithRSA

public void testSHA384WithRSA()
            throws Exception

testSHA512WithRSA

public void testSHA512WithRSA()
            throws Exception

testWithAttributeCertificate

public void testWithAttributeCertificate()
            throws Exception