Class ManagedCertificateResult
Returns a usable certificate and reports the managed-file outcome.
Inherited Members
Namespace: Eigenverft.NetLib.Infrastructure.Security.Certificates
Assembly: Eigenverft.NetLib.Infrastructure.dll
Syntax
public sealed class ManagedCertificateResult
Properties
| Edit this page View SourceAction
Gets the load or recovery action.
Declaration
public ManagedCertificateAction Action { get; }
Property Value
| Type | Description |
|---|---|
| ManagedCertificateAction |
Certificate
Gets the usable certificate. The caller owns and must dispose this instance.
Declaration
public X509Certificate2 Certificate { get; }
Property Value
| Type | Description |
|---|---|
| X509Certificate2 |
ExistingFilePreserved
Gets whether an existing unusable PFX was deliberately left unchanged and the returned recovery certificate therefore exists only in memory.
Declaration
public bool ExistingFilePreserved { get; }
Property Value
| Type | Description |
|---|---|
| bool |
LoadException
Gets the read, access, or import error that caused recovery, when available.
Declaration
public Exception? LoadException { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
Persisted
Gets whether the returned certificate is represented by the managed PFX file.
Declaration
public bool Persisted { get; }
Property Value
| Type | Description |
|---|---|
| bool |
PersistenceException
Gets the persistence error when persistence was attempted and failed.
Declaration
public Exception? PersistenceException { get; }
Property Value
| Type | Description |
|---|---|
| Exception |