Class ValidateServerCertificateEventArgs
These EventArgs are passed to the FiddlerApplication.OnValidateServerCertificate event handler when a server-provided HTTPS certificate is evaluated
Inheritance
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public class ValidateServerCertificateEventArgs : EventArgs
Properties
CertificatePolicyErrors
The SslPolicyErrors found during default certificate evaluation.
Declaration
public SslPolicyErrors CertificatePolicyErrors { get; }
Property Value
System.Net.Security.SslPolicyErrors
|
ExpectedCN
The SubjectCN (e.g. Hostname) that should be expected on this HTTPS connection, based on the request's Host property.
Declaration
public string ExpectedCN { get; }
Property Value
System.String
|
ServerCertificate
The X509Certificate provided by the server to vouch for its authenticity
Declaration
public X509Certificate ServerCertificate { get; }
Property Value
System.Security.Cryptography.X509Certificates.X509Certificate
|
ServerCertificateChain
The server's certificate chain.
Declaration
public X509Chain ServerCertificateChain { get; }
Property Value
System.Security.Cryptography.X509Certificates.X509Chain
|
Session
The Session for which a HTTPS certificate was received.
Declaration
public Session Session { get; }
Property Value
Session
|
TargetPort
The port to which this request was targeted
Declaration
public int TargetPort { get; }
Property Value
System.Int32
|
ValidityState
Set this property to override the certificate validity
Declaration
public CertificateValidity ValidityState { get; set; }
Property Value
CertificateValidity
|