Namespace: System.Net.Security
Represents a response from a certificate validation operation.
The ICertificateResponse interface defines the contract for objects that represent the outcome of a certificate validation process. This is particularly useful in scenarios where custom certificate handling or validation logic is required, allowing for more detailed reporting of validation results beyond a simple pass or fail.
Gets the status of the certificate validation.
Gets the flags indicating any errors encountered during certificate validation.
Gets a collection of extensions associated with the certificate validation response.
Gets the issuer's name of the certificate.
Gets a value indicating whether the certificate validation was successful.
Gets the flags indicating any policy errors encountered during certificate validation.
Gets the status of the certificate revocation check.
Gets the subject's name of the certificate.
Gets the chain of certificates used in the validation path.
Retrieves custom validation results for a specific validation type.
Determines if a specific extension is present in the certificate response.
The ICertificateResponse interface is designed to provide a structured way to handle the results of certificate validation. Developers can implement this interface to create custom validation services or to analyze the detailed outcomes of certificate checks performed by the .NET framework.
This interface is instrumental in building robust security mechanisms where fine-grained control over certificate trust and validation is required, such as in advanced TLS/SSL implementations or enterprise-level certificate management systems.
| Assembly | Version |
|---|---|
| System.Net.Security.dll | .NET Framework 4.0, .NET Core 1.0, .NET 5+ |
System.Net.Security Namespace | Microsoft .NET Documentation