Struct security_framework::secure_transport::ServerBuilder[][src]

pub struct ServerBuilder { /* fields omitted */ }
Expand description

A builder type to simplify the creation of server-side SslStreams.

Implementations

Creates a new ServerBuilder which will use the specified identity and certificate chain for handshakes.

Creates a new ServerBuilder which will use the identity from the given PKCS #12 data.

This operation fails if PKCS #12 file contains zero or more than one identity.

This is a shortcut for the most common operation.

Create a SSL context for lower-level stream initialization.

Initiates a new SSL/TLS session over a stream.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.