summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpDataValidationException.cs
blob: cec5c9b68c7c38f8f3bba3108cd405b17bc39270 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>
#if !PORTABLE
    [Serializable]
#endif
    public class PgpDataValidationException
        : PgpException
	{
		public PgpDataValidationException() : base() {}
		public PgpDataValidationException(string message) : base(message) {}
		public PgpDataValidationException(string message, Exception exception) : base(message, exception) {}
	}
}