Package org.bouncycastle.cms.test
Class NewSignedDataTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.cms.test.NewSignedDataTest
- All Implemented Interfaces:
junit.framework.Test
public class NewSignedDataTest
extends junit.framework.TestCase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
setUp()
static junit.framework.Test
suite()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
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
-
Field Details
-
xtraCounterSig
public static byte[] xtraCounterSig
-
-
Constructor Details
-
NewSignedDataTest
-
-
Method Details
-
main
- Throws:
Exception
-
suite
- Throws:
Exception
-
setUp
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
Exception
-
testDetachedVerification
- Throws:
Exception
-
testEmptyContent
- Throws:
Exception
-
testSHA1AndMD5WithRSAEncapsulatedRepeated
- Throws:
Exception
-
testSHA1WithRSANoAttributes
- Throws:
Exception
-
testSHA1WithRSANoAttributesSimple
- Throws:
Exception
-
testSHA1WithRSAAndOtherRevocation
- Throws:
Exception
-
testSHA1WithRSAAndAttributeTableSimple
- Throws:
Exception
-
testCMSAlgorithmProtection
- Throws:
Exception
-
testSHA1WithRSAAndAttributeTable
- Throws:
Exception
-
testRemoveAttribute
- Throws:
Exception
-
testSignerInformationExtension
- Throws:
Exception
-
testRawSHA256MissingNull
- Throws:
Exception
-
testLwSHA1WithRSAAndAttributeTable
- Throws:
Exception
-
testLwSHA3_256WithRSAAndAttributeTable
- Throws:
Exception
-
testSHA1WithRSAEncapsulated
- Throws:
Exception
-
testSHA1WithRSAEncapsulatedSubjectKeyID
- Throws:
Exception
-
testSHA1WithRSAPSS
- Throws:
Exception
-
testSHA224WithRSAPSS
- Throws:
Exception
-
testSHA256WithRSAPSS
- Throws:
Exception
-
testSHA384WithRSAPSS
- Throws:
Exception
-
testSHA3_224WithRSAPSS
- Throws:
Exception
-
testSHA3_256WithRSAPSS
- Throws:
Exception
-
testSHA3_384WithRSAPSS
- Throws:
Exception
-
testSHA1WithRSADigest
- Throws:
Exception
-
testSHA224WithRSADigest
- Throws:
Exception
-
testSHA256WithRSADigest
- Throws:
Exception
-
testSHA384WithRSADigest
- Throws:
Exception
-
testSHA512WithRSADigest
- Throws:
Exception
-
testSHA3_224WithRSADigest
- Throws:
Exception
-
testSHA3_256WithRSADigest
- Throws:
Exception
-
testSHA3_384WithRSADigest
- Throws:
Exception
-
testSHA3_512WithRSADigest
- Throws:
Exception
-
testSHA512_224ithRSADigest
- Throws:
Exception
-
testSHA512_256ithRSADigest
- Throws:
Exception
-
testEd25519
- Throws:
Exception
-
testEd448
- Throws:
Exception
-
testDetachedEd25519
- Throws:
Exception
-
testEdDetached448
- Throws:
Exception
-
testEd25519WithNoAttr
- Throws:
Exception
-
testEd448WithNoAttr
- Throws:
Exception
-
testSHA3_224WithDSAEncapsulated
- Throws:
Exception
-
testSHA3_256WithDSAEncapsulated
- Throws:
Exception
-
testSHA3_384WithDSAEncapsulated
- Throws:
Exception
-
testSHA3_512WithDSAEncapsulated
- Throws:
Exception
-
testSHA224WithRSAEncapsulated
- Throws:
Exception
-
testSHA256WithRSAEncapsulated
- Throws:
Exception
-
testSHA3_224WithRSAEncapsulated
- Throws:
Exception
-
testSHA3_256WithRSAEncapsulated
- Throws:
Exception
-
testSHA3_384WithRSAEncapsulated
- Throws:
Exception
-
testSHA3_512WithRSAEncapsulated
- Throws:
Exception
-
testRIPEMD128WithRSAEncapsulated
- Throws:
Exception
-
testRIPEMD160WithRSAEncapsulated
- Throws:
Exception
-
testRIPEMD256WithRSAEncapsulated
- Throws:
Exception
-
testECDSAEncapsulated
- Throws:
Exception
-
testECDSAEncapsulatedSubjectKeyID
- Throws:
Exception
-
testECDSASHA224Encapsulated
- Throws:
Exception
-
testECDSASHA256Encapsulated
- Throws:
Exception
-
testECDSASHA384Encapsulated
- Throws:
Exception
-
testECDSASHA512Encapsulated
- Throws:
Exception
-
testECDSASHA3_224Encapsulated
- Throws:
Exception
-
testECDSASHA3_256Encapsulated
- Throws:
Exception
-
testECDSASHA3_384Encapsulated
- Throws:
Exception
-
testECDSASHA3_512Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA224Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA256Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA384Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA512Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA3_224Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA3_256Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA3_384Encapsulated
- Throws:
Exception
-
testPLAIN_ECDSASHA3_512Encapsulated
- Throws:
Exception
-
testECDSASHA512EncapsulatedWithKeyFactoryAsEC
- Throws:
Exception
-
testDSAEncapsulated
- Throws:
Exception
-
testDSAEncapsulatedSubjectKeyID
- Throws:
Exception
-
testGOST3411WithGOST3410Encapsulated
- Throws:
Exception
-
testGOST3411WithECGOST3410Encapsulated
- Throws:
Exception
-
testGostNoAttributesEncapsulated
- Throws:
Exception
-
testSHA1WithRSACounterSignature
- Throws:
Exception
-
testSHA1WithRSACounterSignatureAndVerifierProvider
- Throws:
Exception
-
testAddDigestAlgorithm
- Throws:
Exception
-
testUnsortedAttributes
- Throws:
Exception
-
testNullContentWithSigner
- Throws:
Exception
-
testWithAttributeCertificate
- Throws:
Exception
-
testCertStoreReplacement
- Throws:
Exception
-
testEncapsulatedCertStoreReplacement
- Throws:
Exception
-
testCertOrdering1
- Throws:
Exception
-
testCertOrdering2
- Throws:
Exception
-
testSignerStoreReplacement
- Throws:
Exception
-
testEncapsulatedSamples
- Throws:
Exception
-
testSamples
- Throws:
Exception
-
testNoAttrEncapsulatedSample
- Throws:
Exception
-
testCounterSig
- Throws:
Exception
-
testCertificateManagement
- Throws:
Exception
-
testMixed
- Throws:
Exception
-
testMSPKCS7
- Throws:
Exception
-
testForMultipleCounterSignatures
- Throws:
Exception
-