Enum
CertificateValidity

Enumeration of possible responses specified by the ValidateServerCertificateEventArgs as modified by FiddlerApplication's OnValidateServerCertificate

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public enum CertificateValidity

Fields

ConfirmWithUser

The certificate will be confirmed with the user even if CertificatePolicyErrors == SslPolicyErrors.None. Note: FiddlerCore does not support user-prompting and will always treat this status as ForceInvalid.

Declaration

cs-api-definition
ConfirmWithUser = 1

Field Value

CertificateValidity

Default

The certificate will be considered valid if CertificatePolicyErrors == SslPolicyErrors.None, otherwise the certificate will be invalid unless the user manually allows the certificate.

Declaration

cs-api-definition
Default = 0

Field Value

CertificateValidity

ForceInvalid

Force the certificate to be considered Invalid, regardless of the value of CertificatePolicyErrors.

Declaration

cs-api-definition
ForceInvalid = 2

Field Value

CertificateValidity

ForceValid

Force the certificate to be considered Valid, regardless of the value of CertificatePolicyErrors.

Declaration

cs-api-definition
ForceValid = 3

Field Value

CertificateValidity