C# Class RabbitMQ.Client.SslHelper

Represents an SslHelper which does the actual heavy lifting to set up an SSL connection, using the config options in an SslOption to make things cleaner
Afficher le fichier Open project: rabbitmq/rabbitmq-dotnet-client Class Usage Examples

Méthodes publiques

Méthode Description
TcpUpgrade ( Stream tcpStream, SslOption sslOption ) : Stream

Upgrade a Tcp stream to an Ssl stream using the SSL options provided.

Private Methods

Méthode Description
CertificateSelectionCallback ( object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string acceptableIssuers ) : X509Certificate
CertificateValidationCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
SslHelper ( SslOption sslOption ) : System

Method Details

TcpUpgrade() public static méthode

Upgrade a Tcp stream to an Ssl stream using the SSL options provided.
public static TcpUpgrade ( Stream tcpStream, SslOption sslOption ) : Stream
tcpStream Stream
sslOption SslOption
Résultat Stream