C# Class RemObjects.InternetPack.SslConnectionFactory

Inheritance: IConnectionFactory
Afficher le fichier Open project: remobjects/internetpack Class Usage Examples

Private Properties

Свойство Type Description
LoadCertificateFromFile void
LoadCertificateFromStore System.Security.Cryptography.X509Certificates.X509Certificate2
LoadCertificateFromStore void

Méthodes publiques

Méthode Description
CreateClientConnection ( Binding binding ) : Connection
CreateClientConnection ( Connection connection ) : Connection
CreateServerConnection ( Socket socket ) : Connection
LoadCertificate ( ) : void
OnValidateRemoteCertificate ( X509Certificate certificate ) : System.Boolean
SslConnectionFactory ( ) : System

Méthodes protégées

Méthode Description
OnNeedPassword ( SslNeedPasswordEventArgs e ) : void
OnValidateRemoteCertificate ( SslValidateCertificateEventArgs e ) : void

Private Methods

Méthode Description
LoadCertificateFromFile ( ) : void
LoadCertificateFromStore ( String thumbprint, StoreLocation location ) : X509Certificate2
LoadCertificateFromStore ( ) : void

Method Details

CreateClientConnection() public méthode

public CreateClientConnection ( Binding binding ) : Connection
binding Binding
Résultat Connection

CreateClientConnection() public méthode

public CreateClientConnection ( Connection connection ) : Connection
connection Connection
Résultat Connection

CreateServerConnection() public méthode

public CreateServerConnection ( Socket socket ) : Connection
socket System.Net.Sockets.Socket
Résultat Connection

LoadCertificate() public méthode

public LoadCertificate ( ) : void
Résultat void

OnNeedPassword() protected méthode

protected OnNeedPassword ( SslNeedPasswordEventArgs e ) : void
e SslNeedPasswordEventArgs
Résultat void

OnValidateRemoteCertificate() public méthode

public OnValidateRemoteCertificate ( X509Certificate certificate ) : System.Boolean
certificate System.Security.Cryptography.X509Certificates.X509Certificate
Résultat System.Boolean

OnValidateRemoteCertificate() protected méthode

protected OnValidateRemoteCertificate ( SslValidateCertificateEventArgs e ) : void
e SslValidateCertificateEventArgs
Résultat void

SslConnectionFactory() public méthode

public SslConnectionFactory ( ) : System
Résultat System