Click or drag to resize
CertMakerStoreCert Method (String, X509Certificate2)
Pre-cache a Certificate in the Certificate Maker that should be returned in subsequent calls to FindCert

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static bool StoreCert(
	string sHost,
	X509Certificate2 oCert
)

Parameters

sHost
Type: SystemString
The hostname for which this certificate should be returned.
oCert
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
The X509Certificate2 with attached Private Key

Return Value

Type: Boolean
TRUE if the Certificate Provider succeeded in pre-caching the certificate. FALSE if Provider doesn't support pre-caching. THROWS if supplied Certificate lacks Private Key.
See Also