C# Class Agnos.TransportFactories.SslSocketTransportFactory

SSL-enabled version of SocketTransportFactory
Inheritance: SocketTransportFactory
Mostrar archivo Open project: tomerfiliba/agnos

Protected Properties

Property Type Description
checkCertificateRevocation bool
clientCertificateRequired bool
enabledSslProtocols SslProtocols
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate

Public Methods

Method Description
Accept ( ) : ITransport
SslSocketTransportFactory ( IPAddress addr, int port, int backlog, RemoteCertificateValidationCallback certificateValidationCallback, LocalCertificateSelectionCallback certificateSelectionCallback, X509Certificate serverCertificate, bool clientCertificateRequired, SslProtocols enabledSslProtocols, bool checkCertificateRevocation ) : System
SslSocketTransportFactory ( String host, int port, X509Certificate serverCertificate ) : System

Method Details

Accept() public method

public Accept ( ) : ITransport
return ITransport

SslSocketTransportFactory() public method

public SslSocketTransportFactory ( IPAddress addr, int port, int backlog, RemoteCertificateValidationCallback certificateValidationCallback, LocalCertificateSelectionCallback certificateSelectionCallback, X509Certificate serverCertificate, bool clientCertificateRequired, SslProtocols enabledSslProtocols, bool checkCertificateRevocation ) : System
addr System.Net.IPAddress
port int
backlog int
certificateValidationCallback RemoteCertificateValidationCallback
certificateSelectionCallback LocalCertificateSelectionCallback
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
enabledSslProtocols SslProtocols
checkCertificateRevocation bool
return System

SslSocketTransportFactory() public method

public SslSocketTransportFactory ( String host, int port, X509Certificate serverCertificate ) : System
host String
port int
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
return System

Property Details

checkCertificateRevocation protected_oe property

protected bool checkCertificateRevocation
return bool

clientCertificateRequired protected_oe property

protected bool clientCertificateRequired
return bool

enabledSslProtocols protected_oe property

protected SslProtocols enabledSslProtocols
return SslProtocols

serverCertificate protected_oe property

protected X509Certificate,System.Security.Cryptography.X509Certificates serverCertificate
return System.Security.Cryptography.X509Certificates.X509Certificate