summary refs log tree commit diff
path: root/crypto/src/crypto/tls/TlsFatalAlert.cs
blob: 4fb2a41bdafd8fcc221d3d48b0f303ba85c86bda (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 byte alertDescription;

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

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