diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 01:05:16 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 01:05:16 +0700 |
commit | 1b15bfc5d4b7e478887f5202c74e563382ffa2d9 (patch) | |
tree | f4eedff7c22b12b5a9ad5b1ef474159505aa09f7 /crypto/src/bcpg/UnsupportedPacketVersionException.cs | |
parent | Improve ASN.1 set special handling (diff) | |
download | BouncyCastle.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.cs | 13 |
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) + { + } + } +} |