SslConnectionFactory

Overview

Location

Descendants

Implements

 

constructor

 

constructor

 

SslConnectionFactory()

 

Sub New

add_NeedPassword

 

method add_NeedPassword(value: EventHandler<SslNeedPasswordEventArgs>)

 

void add_NeedPassword(EventHandler<SslNeedPasswordEventArgs> value)

 

Sub add_NeedPassword(value As EventHandler<SslNeedPasswordEventArgs>)

Parameters:

  • value:

add_ValidateRemoteCertificate

 

method add_ValidateRemoteCertificate(value: EventHandler<SslValidateCertificateEventArgs>)

 

void add_ValidateRemoteCertificate(EventHandler<SslValidateCertificateEventArgs> value)

 

Sub add_ValidateRemoteCertificate(value As EventHandler<SslValidateCertificateEventArgs>)

Parameters:

  • value:

Certificate

 

property Certificate: X509Certificate2 read write;

 

X509Certificate2 Certificate { get; set; }

 

Property Certificate As X509Certificate2

CertificateFileName

 

property CertificateFileName: String read write;

 

String CertificateFileName { get; set; }

 

Property CertificateFileName As String

CertificateSubject

 

property CertificateSubject: String read write;

 

String CertificateSubject { get; set; }

 

Property CertificateSubject As String

CertificateThumbprint

 

property CertificateThumbprint: String read write;

 

String CertificateThumbprint { get; set; }

 

Property CertificateThumbprint As String

CopyProperties

 

method CopyProperties(source: SslConnectionFactory)

 

void CopyProperties(SslConnectionFactory source)

 

Sub CopyProperties(source As SslConnectionFactory)

Parameters:

  • source:

CreateClientConnection (Binding): Connection

 

method CreateClientConnection(binding: Binding): Connection

 

Connection CreateClientConnection(Binding binding)

 

Function CreateClientConnection(binding As Binding) As Connection

Parameters:

  • binding:

CreateClientConnection (Connection): Connection

 

method CreateClientConnection(connection: Connection): Connection

 

Connection CreateClientConnection(Connection connection)

 

Function CreateClientConnection(connection As Connection) As Connection

Parameters:

  • connection:

CreateServerConnection

 

method CreateServerConnection(socket: Socket): Connection

 

Connection CreateServerConnection(Socket socket)

 

Function CreateServerConnection(socket As Socket) As Connection

Parameters:

  • socket:

Enabled

 

property Enabled: Boolean read write;

 

Boolean Enabled { get; set; }

 

Property Enabled As Boolean

IsCertificateLoadPending

 

property IsCertificateLoadPending: Boolean read;

 

Boolean IsCertificateLoadPending { get; }

 

Property ReadOnly IsCertificateLoadPending As Boolean

LoadCertificate

 

method LoadCertificate

 

void LoadCertificate()

 

Sub LoadCertificate

NeedPassword

 

event NeedPassword: EventHandler<SslNeedPasswordEventArgs>;

 

delegate EventHandler<SslNeedPasswordEventArgs> NeedPassword()

 

Event NeedPassword As EventHandler<SslNeedPasswordEventArgs>

OnNeedPassword

 

method OnNeedPassword(e: SslNeedPasswordEventArgs)

 

void OnNeedPassword(SslNeedPasswordEventArgs e)

 

Sub OnNeedPassword(e As SslNeedPasswordEventArgs)

Parameters:

  • e:

OnValidateRemoteCertificate

 

method OnValidateRemoteCertificate(certificate: X509Certificate; chain: X509Chain; sslPolicyErrors: SslPolicyErrors; isServer: Boolean): Boolean

 

Boolean OnValidateRemoteCertificate(X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors, Boolean isServer)

 

Function OnValidateRemoteCertificate(certificate As X509Certificate, chain As X509Chain, sslPolicyErrors As SslPolicyErrors, isServer As Boolean) As Boolean

Parameters:

  • certificate:
  • chain:
  • sslPolicyErrors:
  • isServer:

remove_NeedPassword

 

method remove_NeedPassword(value: EventHandler<SslNeedPasswordEventArgs>)

 

void remove_NeedPassword(EventHandler<SslNeedPasswordEventArgs> value)

 

Sub remove_NeedPassword(value As EventHandler<SslNeedPasswordEventArgs>)

Parameters:

  • value:

remove_ValidateRemoteCertificate

 

method remove_ValidateRemoteCertificate(value: EventHandler<SslValidateCertificateEventArgs>)

 

void remove_ValidateRemoteCertificate(EventHandler<SslValidateCertificateEventArgs> value)

 

Sub remove_ValidateRemoteCertificate(value As EventHandler<SslValidateCertificateEventArgs>)

Parameters:

  • value:

TargetHostName

 

property TargetHostName: String read write;

 

String TargetHostName { get; set; }

 

Property TargetHostName As String

UseMono

 

property UseMono: Boolean read write;

 

Boolean UseMono { get; set; }

 

Property UseMono As Boolean

UseTls

 

property UseTls: Boolean read write;

 

Boolean UseTls { get; set; }

 

Property UseTls As Boolean

ValidateRemoteCertificate

 

event ValidateRemoteCertificate: EventHandler<SslValidateCertificateEventArgs>;

 

delegate EventHandler<SslValidateCertificateEventArgs> ValidateRemoteCertificate()

 

Event ValidateRemoteCertificate As EventHandler<SslValidateCertificateEventArgs>

 

Certificate

 

property Certificate: X509Certificate2 read write;

 

X509Certificate2 Certificate { get; set; }

 

Property Certificate As X509Certificate2

CertificateFileName

 

property CertificateFileName: String read write;

 

String CertificateFileName { get; set; }

 

Property CertificateFileName As String

CertificateSubject

 

property CertificateSubject: String read write;

 

String CertificateSubject { get; set; }

 

Property CertificateSubject As String

CertificateThumbprint

 

property CertificateThumbprint: String read write;

 

String CertificateThumbprint { get; set; }

 

Property CertificateThumbprint As String

Enabled

 

property Enabled: Boolean read write;

 

Boolean Enabled { get; set; }

 

Property Enabled As Boolean

IsCertificateLoadPending

 

property IsCertificateLoadPending: Boolean read;

 

Boolean IsCertificateLoadPending { get; }

 

Property ReadOnly IsCertificateLoadPending As Boolean

TargetHostName

 

property TargetHostName: String read write;

 

String TargetHostName { get; set; }

 

Property TargetHostName As String

UseMono

 

property UseMono: Boolean read write;

 

Boolean UseMono { get; set; }

 

Property UseMono As Boolean

UseTls

 

property UseTls: Boolean read write;

 

Boolean UseTls { get; set; }

 

Property UseTls As Boolean

 

constructor

 

constructor

 

SslConnectionFactory()

 

Sub New

add_NeedPassword

 

method add_NeedPassword(value: EventHandler<SslNeedPasswordEventArgs>)

 

void add_NeedPassword(EventHandler<SslNeedPasswordEventArgs> value)

 

Sub add_NeedPassword(value As EventHandler<SslNeedPasswordEventArgs>)

Parameters:

  • value:

add_ValidateRemoteCertificate

 

method add_ValidateRemoteCertificate(value: EventHandler<SslValidateCertificateEventArgs>)

 

void add_ValidateRemoteCertificate(EventHandler<SslValidateCertificateEventArgs> value)

 

Sub add_ValidateRemoteCertificate(value As EventHandler<SslValidateCertificateEventArgs>)

Parameters:

  • value:

CopyProperties

 

method CopyProperties(source: SslConnectionFactory)

 

void CopyProperties(SslConnectionFactory source)

 

Sub CopyProperties(source As SslConnectionFactory)

Parameters:

  • source:

CreateClientConnection (Binding): Connection

 

method CreateClientConnection(binding: Binding): Connection

 

Connection CreateClientConnection(Binding binding)

 

Function CreateClientConnection(binding As Binding) As Connection

Parameters:

  • binding:

CreateClientConnection (Connection): Connection

 

method CreateClientConnection(connection: Connection): Connection

 

Connection CreateClientConnection(Connection connection)

 

Function CreateClientConnection(connection As Connection) As Connection

Parameters:

  • connection:

CreateServerConnection

 

method CreateServerConnection(socket: Socket): Connection

 

Connection CreateServerConnection(Socket socket)

 

Function CreateServerConnection(socket As Socket) As Connection

Parameters:

  • socket:

LoadCertificate

 

method LoadCertificate

 

void LoadCertificate()

 

Sub LoadCertificate

OnNeedPassword

 

method OnNeedPassword(e: SslNeedPasswordEventArgs)

 

void OnNeedPassword(SslNeedPasswordEventArgs e)

 

Sub OnNeedPassword(e As SslNeedPasswordEventArgs)

Parameters:

  • e:

OnValidateRemoteCertificate

 

method OnValidateRemoteCertificate(certificate: X509Certificate; chain: X509Chain; sslPolicyErrors: SslPolicyErrors; isServer: Boolean): Boolean

 

Boolean OnValidateRemoteCertificate(X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors, Boolean isServer)

 

Function OnValidateRemoteCertificate(certificate As X509Certificate, chain As X509Chain, sslPolicyErrors As SslPolicyErrors, isServer As Boolean) As Boolean

Parameters:

  • certificate:
  • chain:
  • sslPolicyErrors:
  • isServer:

remove_NeedPassword

 

method remove_NeedPassword(value: EventHandler<SslNeedPasswordEventArgs>)

 

void remove_NeedPassword(EventHandler<SslNeedPasswordEventArgs> value)

 

Sub remove_NeedPassword(value As EventHandler<SslNeedPasswordEventArgs>)

Parameters:

  • value:

remove_ValidateRemoteCertificate

 

method remove_ValidateRemoteCertificate(value: EventHandler<SslValidateCertificateEventArgs>)

 

void remove_ValidateRemoteCertificate(EventHandler<SslValidateCertificateEventArgs> value)

 

Sub remove_ValidateRemoteCertificate(value As EventHandler<SslValidateCertificateEventArgs>)

Parameters:

  • value:

 

NeedPassword

 

event NeedPassword: EventHandler<SslNeedPasswordEventArgs>;

 

delegate EventHandler<SslNeedPasswordEventArgs> NeedPassword()

 

Event NeedPassword As EventHandler<SslNeedPasswordEventArgs>

ValidateRemoteCertificate

 

event ValidateRemoteCertificate: EventHandler<SslValidateCertificateEventArgs>;

 

delegate EventHandler<SslValidateCertificateEventArgs> ValidateRemoteCertificate()

 

Event ValidateRemoteCertificate As EventHandler<SslValidateCertificateEventArgs>

Descendants