summary refs log tree commit diff
path: root/Crypto/src/openpgp/PgpDataValidationException.cs
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2014-02-26 10:08:50 -0500
committerOren Novotny <oren@novotny.org>2014-02-26 10:08:50 -0500
commit176743ab5faec2dd275b5efd3a2dd62c610f237a (patch)
tree1d2e50c534a479d749c266d7c52434d8f17f86aa /Crypto/src/openpgp/PgpDataValidationException.cs
parentAdd git files (diff)
downloadBouncyCastle.NET-ed25519-1.7.0.tar.xz
Add BouncyCastle PCL files v1.7.0
Diffstat (limited to '')
-rw-r--r--Crypto/src/openpgp/PgpDataValidationException.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Crypto/src/openpgp/PgpDataValidationException.cs b/Crypto/src/openpgp/PgpDataValidationException.cs
new file mode 100644

index 000000000..74674da59 --- /dev/null +++ b/Crypto/src/openpgp/PgpDataValidationException.cs
@@ -0,0 +1,15 @@ +using System; + +namespace Org.BouncyCastle.Bcpg.OpenPgp +{ + /// <remarks> + /// Thrown if the IV at the start of a data stream indicates the wrong key is being used. + /// </remarks> + public class PgpDataValidationException + : PgpException + { + public PgpDataValidationException() : base() {} + public PgpDataValidationException(string message) : base(message) {} + public PgpDataValidationException(string message, Exception exception) : base(message, exception) {} + } +}