summary refs log tree commit diff
path: root/crypto/src/cms/CMSProcessable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/cms/CMSProcessable.cs')
-rw-r--r--crypto/src/cms/CMSProcessable.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/crypto/src/cms/CMSProcessable.cs b/crypto/src/cms/CMSProcessable.cs
new file mode 100644
index 000000000..41018d12b
--- /dev/null
+++ b/crypto/src/cms/CMSProcessable.cs
@@ -0,0 +1,19 @@
+using System;
+using System.IO;
+
+namespace Org.BouncyCastle.Cms
+{
+	public interface CmsProcessable
+	{
+		/// <summary>
+		/// Generic routine to copy out the data we want processed.
+		/// </summary>
+		/// <remarks>
+		/// This routine may be called multiple times.
+		/// </remarks>
+		void Write(Stream outStream);
+
+		[Obsolete]
+		object GetContent();
+	}
+}