Struct openssl::ssl::SslConnector [] [src]

pub struct SslConnector(_);

A type which wraps client-side streams in a TLS session.

OpenSSL's default configuration is highly insecure. This connector manages the OpenSSL structures, configuring cipher suites, session options, hostname verification, and more.

OpenSSL's built in hostname verification is used when linking against OpenSSL 1.0.2 or 1.1.0, and a custom implementation is used when linking against OpenSSL 1.0.1.

Methods

impl SslConnector
[src]

Initiates a client-side TLS session on a stream.

The domain is used for SNI and hostname verification.