summary refs log tree commit diff
path: root/Crypto/src/cms/SignerInfoGenerator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Crypto/src/cms/SignerInfoGenerator.cs')
-rw-r--r--Crypto/src/cms/SignerInfoGenerator.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Crypto/src/cms/SignerInfoGenerator.cs b/Crypto/src/cms/SignerInfoGenerator.cs
new file mode 100644
index 000000000..f78cf2c01
--- /dev/null
+++ b/Crypto/src/cms/SignerInfoGenerator.cs
@@ -0,0 +1,14 @@
+using System;
+
+using Org.BouncyCastle.Asn1;
+using Org.BouncyCastle.Asn1.Cms;
+using Org.BouncyCastle.Asn1.X509;
+
+namespace Org.BouncyCastle.Cms
+{
+	internal interface SignerInfoGenerator
+	{
+		SignerInfo Generate(DerObjectIdentifier contentType, AlgorithmIdentifier digestAlgorithm,
+        	byte[] calculatedDigest);
+	}
+}