Class
TlsConnection

This class is used to represend a secured connection between Fiddler an a client or a server peer

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public abstract class TlsConnection

Inheritance: objectTlsConnection

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()

Constructors

TlsConnection()

Creates a new instance of the TlsConnection class

Declaration

cs-api-definition
protected TlsConnection()

Properties

AuthenticatedStream

Gets the secure stream instance that is used to read/write data

Declaration

cs-api-definition
public Stream AuthenticatedStream { get; protected set; }

Property Value

Stream

NegotiatedApplicationProtocol

Gets the application protocol that will be used for the secure data - e.g. HTTP/2

Declaration

cs-api-definition
public SslApplicationProtocol NegotiatedApplicationProtocol { get; protected set; }

Property Value

SslApplicationProtocol

NegotiatedCipherSuite

Gets the cipher that was used to establish the TLS connection - e.g. TLS_AES_128_GCM_SHA256

Declaration

cs-api-definition
public string NegotiatedCipherSuite { get; protected set; }

Property Value

string

PeerCertificate

Gets the certificate for the remote peer - e.g. the server certificate for a server pipe

Declaration

cs-api-definition
public X509Certificate PeerCertificate { get; protected set; }

Property Value

X509Certificate

Protocols

Gets the protocol that was used to establish the TLS connection - e.g. TLS 1.2

Declaration

cs-api-definition
public SslProtocols Protocols { get; protected set; }

Property Value

SslProtocols