Table of Contents

Class TlsFatalAlert

Namespace
Org.BouncyCastle.Tls
Assembly
BouncyCastle.Cryptography.dll
[Serializable]
public class TlsFatalAlert : TlsException, ISerializable
Inheritance
TlsFatalAlert
Implements
Inherited Members

Constructors

TlsFatalAlert(short)

public TlsFatalAlert(short alertDescription)

Parameters

alertDescription short

TlsFatalAlert(short, Exception)

public TlsFatalAlert(short alertDescription, Exception alertCause)

Parameters

alertDescription short
alertCause Exception

TlsFatalAlert(short, string)

public TlsFatalAlert(short alertDescription, string detailMessage)

Parameters

alertDescription short
detailMessage string

TlsFatalAlert(short, string, Exception)

public TlsFatalAlert(short alertDescription, string detailMessage, Exception alertCause)

Parameters

alertDescription short
detailMessage string
alertCause Exception

TlsFatalAlert(SerializationInfo, StreamingContext)

protected TlsFatalAlert(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

Fields

m_alertDescription

protected readonly byte m_alertDescription

Field Value

byte

Properties

AlertDescription

public virtual short AlertDescription { get; }

Property Value

short

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the SerializationInfo with information about the exception.

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).