summary refs log tree commit diff
path: root/crypto/src/bcpg/UnsupportedPacketVersionException.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 01:05:16 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 01:05:16 +0700
commit1b15bfc5d4b7e478887f5202c74e563382ffa2d9 (patch)
treef4eedff7c22b12b5a9ad5b1ef474159505aa09f7 /crypto/src/bcpg/UnsupportedPacketVersionException.cs
parentImprove ASN.1 set special handling (diff)
downloadBouncyCastle.NET-ed25519-1b15bfc5d4b7e478887f5202c74e563382ffa2d9.tar.xz
Ignore PGP signatures with invalid version
Diffstat (limited to 'crypto/src/bcpg/UnsupportedPacketVersionException.cs')
-rw-r--r--crypto/src/bcpg/UnsupportedPacketVersionException.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/crypto/src/bcpg/UnsupportedPacketVersionException.cs b/crypto/src/bcpg/UnsupportedPacketVersionException.cs
new file mode 100644
index 000000000..447d75286
--- /dev/null
+++ b/crypto/src/bcpg/UnsupportedPacketVersionException.cs
@@ -0,0 +1,13 @@
+using System;
+
+namespace Org.BouncyCastle.Bcpg
+{
+    public class UnsupportedPacketVersionException
+        : Exception
+    {
+        public UnsupportedPacketVersionException(string msg)
+            : base(msg)
+        {
+        }
+    }
+}