summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpDataValidationException.cs
blob: 7718ab26c2d86f84b486ecc080d31b6bcb989cbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Runtime.Serialization;

namespace Org.BouncyCastle.Bcpg.OpenPgp
{
	/// <summary>Thrown if the IV at the start of a data stream indicates the wrong key is being used.</summary>
    [Serializable]
    public class PgpDataValidationException
        : PgpException
	{
		public PgpDataValidationException()
			: base()
		{
		}

		public PgpDataValidationException(string message)
			: base(message)
		{
		}

		public PgpDataValidationException(string message, Exception innerException)
			: base(message, innerException)
		{
		}

		protected PgpDataValidationException(SerializationInfo info, StreamingContext context)
			: base(info, context)
		{
		}
	}
}