Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SslStreamProvider..::.DefaultCertificateValidation Method
SslStreamProvider Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication. This callback ignores the content of the Common Name for the certificate during the validation.

Namespace: Tangosol.Net
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public static bool DefaultCertificateValidation(
    	Object sender,
    	X509Certificate certificate,
    	X509Chain chain,
    	SslPolicyErrors sslPolicyErrors
    )

#### Parameters

sender
  Type: System..::.Object
  An object that contains state information for this validation.

certificate
  Type: System.Security.Cryptography.X509Certificates..::.X509Certificate
  The certificate used to authenticate the remote party.

chain
  Type: System.Security.Cryptography.X509Certificates..::.X509Chain
  The chain of certificate authorities associated with the remote certificate.

sslPolicyErrors
  Type: System.Net.Security..::.SslPolicyErrors
  One or more errors associated with the remote certificate.

#### Return Value

A Boolean value that determines whether the specified certificate is accepted for authentication.

# See Also

SslStreamProvider Class
Tangosol.Net Namespace