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]

[src]

Creates a new builder for TLS connections.

The default configuration is subject to change, and is currently derived from Python.

[src]

Initiates a client-side TLS session on a stream.

The domain is used for SNI and hostname verification.

[src]

Returns a structure allowing for configuration of a single TLS session before connection.

Trait Implementations

impl Clone for SslConnector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more