Package org.bouncycastle.cms.test
Class NewSignedDataStreamTest
- java.lang.Object
-
- TestCase
-
- org.bouncycastle.cms.test.NewSignedDataStreamTest
-
public class NewSignedDataStreamTest extends 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 Testsuite()voidtestAttributeGenerators()voidtestCertOrdering1()voidtestCertOrdering2()voidtestCertsOnly()voidtestCertStoreReplacement()voidtestDSANoAttributes()voidtestEncapsulatedCertStoreReplacement()voidtestEncapsulatedSignerStoreReplacement()voidtestMSPKCS7()voidtestSHA1AndMD5WithRSA()voidtestSha1EncapsulatedSignature()voidtestSHA1WithRSA()voidtestSHA1WithRSAAndOtherRevocation()voidtestSHA1WithRSAEncapsulated()voidtestSHA1WithRSAEncapsulatedBuffered()voidtestSHA1WithRSAEncapsulatedBufferedStream()voidtestSHA1WithRSAEncapsulatedSubjectKeyID()voidtestSHA1WithRSANoAttributes()voidtestSHA1WithRSANonData()voidtestSignerStoreReplacement()voidtestWithAttributeCertificate()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- 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
-
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 Test suite() throws java.lang.Exception- Throws:
java.lang.Exception
-
-