Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SslCertificateValidationEventArgs Class

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

Provides data for custom server certificate check events.

Syntax
public class SslCertificateValidationEventArgs : EventArgs
Inheritance
Object
EventArgs
SslCertificateValidationEventArgs
Inherited Members
EventArgs.Empty
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
SslCertificateValidationEventArgs(TlsSocket, String, CertificateChain)

Creates an instance of SslCertificateValidationEventArgs object.

Properties

Name Description
Certificate

Gets the server certificate to be validated.

CertificateChain

Gets the whole certificate chain to be validated.

Options

Gets custom-specified validation options (set using SslServerCertificateValidationOptions property).

Result

Gets validation result.

ServerName

Gets the common name of the server.

Socket

Gets the socket that needs certificate verification.

Methods

Name Description
Accept()

Accepts the certificate.

Reject()

Rejects the certificate.

Reject(TlsCertificateAcceptance)

Rejects the certificate.

Reject(ValidationStatus)

Rejects the certificate.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies