Class
ValidateServerCertificateEventArgs

These EventArgs are passed to the FiddlerApplication.OnValidateServerCertificate event handler when a server-provided HTTPS certificate is evaluated

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public class ValidateServerCertificateEventArgs : EventArgs

Inheritance: objectEventArgsValidateServerCertificateEventArgs

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

Properties

CertificatePolicyErrors

The SslPolicyErrors found during default certificate evaluation.

Declaration

cs-api-definition
public SslPolicyErrors CertificatePolicyErrors { get; }

Property Value

SslPolicyErrors

ExpectedCN

The SubjectCN (e.g. Hostname) that should be expected on this HTTPS connection, based on the request's Host property.

Declaration

cs-api-definition
public string ExpectedCN { get; }

Property Value

string

ServerCertificate

The X509Certificate provided by the server to vouch for its authenticity

Declaration

cs-api-definition
public X509Certificate ServerCertificate { get; }

Property Value

X509Certificate

ServerCertificateChain

The server's certificate chain.

Declaration

cs-api-definition
public X509Chain ServerCertificateChain { get; }

Property Value

X509Chain

Session

The Session for which a HTTPS certificate was received.

Declaration

cs-api-definition
public Session Session { get; }

Property Value

Session

TargetPort

The port to which this request was targeted

Declaration

cs-api-definition
public int TargetPort { get; }

Property Value

int

ValidityState

Set this property to override the certificate validity

Declaration

cs-api-definition
public CertificateValidity ValidityState { get; set; }

Property Value

CertificateValidity