Enum CertificateRecoveryMode
Controls when managed-certificate recovery may replace an existing PFX file.
Namespace: Eigenverft.NetLib.Infrastructure.Security.Certificates
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public enum CertificateRecoveryMode
Fields
| Name | Description |
|---|---|
| PreserveExisting | Creates and persists a missing PFX, but never replaces an existing unusable PFX. An in-memory recovery certificate remains available to the caller. |
| ReplaceAnyUnusable | Replaces any existing PFX that cannot be used, including files affected by import, password, read, or access failures. This mode can overwrite an externally managed PFX. |
| ReplaceExpired | Creates a missing PFX and replaces an existing PFX only after it was successfully imported and found to be expired. |