C# Class OpenSSL.SSL.SslStreamClient

Inheritance: SslStreamBase
显示文件 Open project: langhuihui/csharprtmp Class Usage Examples

Protected Properties

Property Type Description
internalCertificateSelectionCallback ClientCertCallbackHandler

Public Methods

Method Description
InternalClientCertificateSelectionCallback ( OpenSSL.SSL.Ssl ssl, X509Certificate &x509_cert, OpenSSL.Crypto.CryptoKey &key ) : int
SslStreamClient ( Stream stream, bool ownStream, string targetHost, X509List clientCertificates, X509Chain caCertificates, SslProtocols enabledSslProtocols, SslStrength sslStrength, bool checkCertificateRevocationStatus, RemoteCertificateValidationHandler remoteCallback, LocalCertificateSelectionHandler localCallback ) : System

Protected Methods

Method Description
InitializeClientContext ( X509List certificates, SslProtocols enabledSslProtocols, SslStrength sslStrength, bool checkCertificateRevocation ) : void
ProcessHandshake ( ) : bool

Method Details

InitializeClientContext() protected method

protected InitializeClientContext ( X509List certificates, SslProtocols enabledSslProtocols, SslStrength sslStrength, bool checkCertificateRevocation ) : void
certificates X509List
enabledSslProtocols SslProtocols
sslStrength SslStrength
checkCertificateRevocation bool
return void

InternalClientCertificateSelectionCallback() public method

public InternalClientCertificateSelectionCallback ( OpenSSL.SSL.Ssl ssl, X509Certificate &x509_cert, OpenSSL.Crypto.CryptoKey &key ) : int
ssl OpenSSL.SSL.Ssl
x509_cert X509Certificate
key OpenSSL.Crypto.CryptoKey
return int

ProcessHandshake() protected method

protected ProcessHandshake ( ) : bool
return bool

SslStreamClient() public method

public SslStreamClient ( Stream stream, bool ownStream, string targetHost, X509List clientCertificates, X509Chain caCertificates, SslProtocols enabledSslProtocols, SslStrength sslStrength, bool checkCertificateRevocationStatus, RemoteCertificateValidationHandler remoteCallback, LocalCertificateSelectionHandler localCallback ) : System
stream System.IO.Stream
ownStream bool
targetHost string
clientCertificates X509List
caCertificates X509Chain
enabledSslProtocols SslProtocols
sslStrength SslStrength
checkCertificateRevocationStatus bool
remoteCallback RemoteCertificateValidationHandler
localCallback LocalCertificateSelectionHandler
return System

Property Details

internalCertificateSelectionCallback protected_oe property

protected ClientCertCallbackHandler internalCertificateSelectionCallback
return ClientCertCallbackHandler