Click or drag to resize
ICertificateProvider2 Interface
To override default certificate handling, your class should implement this interface in an assembly referenced by the fiddler.certmaker.assembly preference; by default, "certmaker.dll" in the application folder is loaded

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public interface ICertificateProvider2 : ICertificateProvider

The ICertificateProvider2 type exposes the following members.

Methods
  NameDescription
Public methodClearCertificateCache
When this method is called, your extension should discard all certificates and clear any certificates that have been added to the user's certificate store.
(Inherited from ICertificateProvider.)
Public methodClearCertificateCache(Boolean)
When this method is called, your extension should discard all certificates and clear any certificates that have been added to the user's certificate store
Public methodCreateRootCertificate
When this method is called, your extension should create a Root certificate.
(Inherited from ICertificateProvider.)
Public methodGetCertificateForHost
Return a certificate to secure this traffic. Generally, it's expected that this method WILL create a new certificate if needed.
(Inherited from ICertificateProvider.)
Public methodGetRootCertificate
Return the root certificate to which Host Certificates are chained. Generally, it's expected that this method will NOT create a root certificate.
(Inherited from ICertificateProvider.)
Public methodrootCertIsTrusted
When this method is called, your extension should check to see if the User or Machine Root certificate store contains your Root certificate.
(Inherited from ICertificateProvider.)
Public methodTrustRootCertificate
When this method is called, your extension should copy the your Root certificate into the user's (or machines's) Root certificate store.
(Inherited from ICertificateProvider.)
Top
See Also