summary refs log tree commit diff
path: root/Crypto/src/crypto/tls/TlsFatalAlert.cs
blob: 0a9cc6f3a3ed4d2d4b0b5e1528bb097394f8dd97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.IO;

namespace Org.BouncyCastle.Crypto.Tls
{
	public class TlsFatalAlert
		: IOException
	{
		private readonly AlertDescription alertDescription;

		public TlsFatalAlert(AlertDescription alertDescription)
		{
			this.alertDescription = alertDescription;
		}

		public AlertDescription AlertDescription
		{
			get { return alertDescription; }
		}
	}
}