summary refs log tree commit diff
path: root/crypto/src/util/io/pem/PemObjectParser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/io/pem/PemObjectParser.cs')
-rw-r--r--crypto/src/util/io/pem/PemObjectParser.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/src/util/io/pem/PemObjectParser.cs b/crypto/src/util/io/pem/PemObjectParser.cs
new file mode 100644
index 000000000..91d26dc3a
--- /dev/null
+++ b/crypto/src/util/io/pem/PemObjectParser.cs
@@ -0,0 +1,17 @@
+using System;
+using System.IO;
+
+namespace Org.BouncyCastle.Utilities.IO.Pem
+{
+	public interface PemObjectParser
+	{
+		/// <param name="obj">
+		/// A <see cref="PemObject"/>
+		/// </param>
+		/// <returns>
+		/// A <see cref="System.Object"/>
+		/// </returns>
+		/// <exception cref="IOException"></exception>
+		object ParseObject(PemObject obj);
+	}
+}