Package org.bouncycastle.cms.test
Class NewSignedDataStreamTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.cms.test.NewSignedDataStreamTest
-
- All Implemented Interfaces:
junit.framework.Test
public class NewSignedDataStreamTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description NewSignedDataStreamTest(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()static junit.framework.Testsuite()voidtestAttributeGenerators()voidtestCertOrdering1()voidtestCertOrdering2()voidtestCertsOnly()voidtestCertStoreReplacement()voidtestDSANoAttributes()voidtestEd448Encapsulated()voidtestEncapsulatedCertStoreReplacement()voidtestEncapsulatedSignerStoreReplacement()voidtestMSPKCS7()voidtestSHA1AndMD5WithRSA()voidtestSha1EncapsulatedSignature()voidtestSHA1WithRSA()voidtestSHA1WithRSAAndOtherRevocation()voidtestSHA1WithRSAEncapsulated()voidtestSHA1WithRSAEncapsulatedBuffered()voidtestSHA1WithRSAEncapsulatedBufferedStream()voidtestSHA1WithRSAEncapsulatedSubjectKeyID()voidtestSHA1WithRSANoAttributes()voidtestSHA1WithRSANonData()voidtestSignerStoreReplacement()voidtestWithAttributeCertificate()-
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
-
setUp
public void setUp() throws java.lang.Exception- Overrides:
setUpin classjunit.framework.TestCase- Throws:
java.lang.Exception
-
testSha1EncapsulatedSignature
public void testSha1EncapsulatedSignature() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSANoAttributes
public void testSHA1WithRSANoAttributes() throws java.lang.Exception- Throws:
java.lang.Exception
-
testDSANoAttributes
public void testDSANoAttributes() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSA
public void testSHA1WithRSA() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSAAndOtherRevocation
public void testSHA1WithRSAAndOtherRevocation() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSANonData
public void testSHA1WithRSANonData() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1AndMD5WithRSA
public void testSHA1AndMD5WithRSA() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulatedBufferedStream
public void testSHA1WithRSAEncapsulatedBufferedStream() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulatedBuffered
public void testSHA1WithRSAEncapsulatedBuffered() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulated
public void testSHA1WithRSAEncapsulated() throws java.lang.Exception- Throws:
java.lang.Exception
-
testEd448Encapsulated
public void testEd448Encapsulated() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSHA1WithRSAEncapsulatedSubjectKeyID
public void testSHA1WithRSAEncapsulatedSubjectKeyID() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAttributeGenerators
public void testAttributeGenerators() throws java.lang.Exception- Throws:
java.lang.Exception
-
testWithAttributeCertificate
public void testWithAttributeCertificate() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSignerStoreReplacement
public void testSignerStoreReplacement() throws java.lang.Exception- Throws:
java.lang.Exception
-
testEncapsulatedSignerStoreReplacement
public void testEncapsulatedSignerStoreReplacement() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCertStoreReplacement
public void testCertStoreReplacement() throws java.lang.Exception- Throws:
java.lang.Exception
-
testEncapsulatedCertStoreReplacement
public void testEncapsulatedCertStoreReplacement() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCertOrdering1
public void testCertOrdering1() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCertOrdering2
public void testCertOrdering2() throws java.lang.Exception- Throws:
java.lang.Exception
-
testCertsOnly
public void testCertsOnly() throws java.lang.Exception- Throws:
java.lang.Exception
-
testMSPKCS7
public void testMSPKCS7() throws java.lang.Exception- Throws:
java.lang.Exception
-
suite
public static junit.framework.Test suite() throws java.lang.Exception- Throws:
java.lang.Exception
-
-