SslConnectionFactory

Overview

Location


 

constructor

 

constructor

 

SslConnectionFactory()

 

Sub New()

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

CertificateStore

 

property CertificateStore: String read write;

 

String CertificateStore { get; set; }

 

Property CertificateStore() 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; }

 

ReadOnly Property 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:

RequestClientCertificate

 

property RequestClientCertificate: Boolean read write;

 

Boolean RequestClientCertificate { get; set; }

 

Property RequestClientCertificate() 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

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

CertificateStore

 

property CertificateStore: String read write;

 

String CertificateStore { get; set; }

 

Property CertificateStore() 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; }

 

ReadOnly Property IsCertificateLoadPending() As Boolean

RequestClientCertificate

 

property RequestClientCertificate: Boolean read write;

 

Boolean RequestClientCertificate { get; set; }

 

Property RequestClientCertificate() 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()

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:

 

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>

 

Implements