Click or drag to resize

SimpleCertificateChecker Class

Simple implementation of ICertificateChecker.
Inheritance Hierarchy
SystemObject
  GSF.Net.SecuritySimpleCertificateChecker

Namespace: GSF.Net.Security
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class SimpleCertificateChecker : ICertificateChecker
View Source

The SimpleCertificateChecker type exposes the following members.

Constructors
 NameDescription
Public methodSimpleCertificateChecker Creates a new instance of the SimpleCertificateChecker class.
Top
Properties
 NameDescription
Public propertyReasonForFailure Gets the reason why the remote certificate validation failed, or null if certificate validation did not fail.
Public propertyTrustedCertificates Gets the list of certificates on the system which are considered trusted when validating remote certificates.
Public propertyValidChainFlags Gets or sets the set of invalid chain flags.
Public propertyValidPolicyErrors Gets or sets the set of invalid policy errors.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidateRemoteCertificate(X509Certificate) Validates the given remote certificate to determine if the host is trusted.
Public methodValidateRemoteCertificate(Object, X509Certificate, X509Chain, SslPolicyErrors) Verifies the remote certificate used for authentication.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also