summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/test/data/cms/sigs/Pkcs7SignedContent.p7bbin0 -> 8360 bytes
-rw-r--r--crypto/test/src/cms/test/SignedDataTest.cs8
2 files changed, 8 insertions, 0 deletions
diff --git a/crypto/test/data/cms/sigs/Pkcs7SignedContent.p7b b/crypto/test/data/cms/sigs/Pkcs7SignedContent.p7b
new file mode 100644

index 000000000..d8986b228 --- /dev/null +++ b/crypto/test/data/cms/sigs/Pkcs7SignedContent.p7b
Binary files differdiff --git a/crypto/test/src/cms/test/SignedDataTest.cs b/crypto/test/src/cms/test/SignedDataTest.cs
index f16edb3f2..78a5015b2 100644 --- a/crypto/test/src/cms/test/SignedDataTest.cs +++ b/crypto/test/src/cms/test/SignedDataTest.cs
@@ -1485,6 +1485,14 @@ namespace Org.BouncyCastle.Cms.Tests } } + [Test] + public void TestPkcs7SignedContent() + { + CmsSignedData sig = new CmsSignedData(GetInput("Pkcs7SignedContent.p7b")); + + VerifySignatures(sig); + } + private static void DoTestSample(string sigName) { CmsSignedData sig = new CmsSignedData(GetInput(sigName));