CertificatePolicyChecker Class

Certificate checker that validates remote certificates based on certificate policies associated with each certificate.

Definition

Namespace: Gemstone.Net.Security
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public class CertificatePolicyChecker : ICertificateChecker
Inheritance
Object    CertificatePolicyChecker
Implements
ICertificateChecker

Constructors

CertificatePolicyChecker Creates a new instance of the CertificatePolicyChecker class.

Properties

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.

Methods

Distrust Removes the given certificate from the list of trusted certificates.
DistrustAll Removes all certificates from the list of trusted certificates.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTrustedCertificate Searches the list of trusted certificates for a certificate that matches the given remote certificate.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns 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.

Extension Methods

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)

See Also