/// <para>true : replace an existing .pfx file if password is incorect or if RootCertificate = null</para>
/// </summary>
publicboolOverwritePfxFile
{
get=>CertificateManager.OverwritePfXFile;
set=>CertificateManager.OverwritePfXFile=value;
}
/// <summary>
/// Password of the Root certificate file
/// <para>Set a password for the .pfx file</para>
/// </summary>
publicstringPfxPassword
{
get=>CertificateManager.PfxPassword;
set=>CertificateManager.PfxPassword=value;
}
/// <summary>
/// Name(path) of the Root certificate file
/// <para>Set the name(path) of the .pfx file. If it is string.Empty Root certificate file will be named as "rootCert.pfx" (and will be saved in proxy dll directory)</para>
/// </summary>
publicstringPfxFilePath
{
get=>CertificateManager.PfxFilePath;
set=>CertificateManager.PfxFilePath=value;
}
publicX509KeyStorageFlagsStorageFlag
{
get=>storageFlag;
set
set
{
{
trustRootCertificate=value;
storageFlag=value;
if(value)
CertificateManager.StorageFlag=storageFlag;
{
EnsureRootCertificate();
}
}
}
}
}
...
@@ -346,7 +393,7 @@ namespace Titanium.Web.Proxy
...
@@ -346,7 +393,7 @@ namespace Titanium.Web.Proxy
/// <summary>
/// <summary>
/// Remove a proxy end point
/// Remove a proxy end point
/// Will throw error if the end point does'nt exist
/// Will throw error if the end point does'nt exist