Gemstone Common Library
Show/Hide TOC

# SimplePolicyChecker Class

Simple implementation of ICertificateChecker.

## Definition

Namespace: Gemstone.Net.Security
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
C#
View Source Request Example

    public class SimplePolicyChecker : ICertificateChecker

VB
View Source Request Example

    Public Class SimplePolicyChecker
    	Implements ICertificateChecker

C++
View Source Request Example

    public ref class SimplePolicyChecker : ICertificateChecker

JavaScript
View Source Request Example

    Gemstone.Net.Security.SimplePolicyChecker = function();

    Type.createClass(
    	'Gemstone.Net.Security.SimplePolicyChecker',
    	null,
    	Gemstone.Net.Security.ICertificateChecker);

Inheritance
  Object SimplePolicyChecker

Implements
  ICertificateChecker

## Constructors

SimplePolicyChecker | Creates a new instance of the SimplePolicyChecker class.

## Properties

ReasonForFailure | Gets the reason why the remote certificate validation failed, or null if certificate validation did not fail.
ValidChainFlags | Gets or sets the set of invalid chain flags.
ValidPolicyErrors | Gets or sets the set of invalid policy errors.

## Methods

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)
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)
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

#### Reference

Gemstone.Net.Security Namespace