Certificate
|
public class CertificatePolicyChecker : ICertificateChecker
The CertificatePolicyChecker type exposes the following members.
Name | Description | |
---|---|---|
CertificatePolicyChecker | Creates a new instance of the CertificatePolicyChecker class. |
Name | Description | |
---|---|---|
DefaultCertificatePolicy | Gets the default certificate policy used to validate certificates that do not have their own certificate policy. | |
ReasonForFailure | Gets the reason why the remote certificate validation failed, or null if certificate validation did not fail. |
Name | Description | |
---|---|---|
Distrust | Removes the given certificate from the list of trusted certificates. | |
DistrustAll | Removes all certificates from the list of trusted certificates. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetTrustedCertificate | Searches the list of trusted certificates for a certificate that matches the given remote certificate. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
Trust(X509Certificate) | Trusts the given certificate, using the default policy for validation. | |
Trust(X509Certificate, CertificatePolicy) | Trusts the given certificate, using the given policy for validation. | |
ValidateRemoteCertificate | Verifies the remote certificate used for authentication. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |