Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

ssl::context_base

The ssl::context_base class is used as a base for the basic_context class template so that we have a common place to define various enums.

class context_base
Types

Name

Description

file_format

File format types.

method

Different methods supported by a context.

options

Bitmask type for SSL options.

password_purpose

Purpose of PEM password.

Protected Member Functions

Name

Description

~context_base

Protected destructor to prevent deletion through this type.

Data Members

Name

Description

default_workarounds

Implement various bug workarounds.

no_compression

Disable compression. Compression is disabled by default.

no_sslv2

Disable SSL v2.

no_sslv3

Disable SSL v3.

no_tlsv1

Disable TLS v1.

no_tlsv1_1

Disable TLS v1.1.

no_tlsv1_2

Disable TLS v1.2.

no_tlsv1_3

Disable TLS v1.3.

single_dh_use

Always create a new key when using tmp_dh parameters.

Requirements

Header: boost/asio/ssl/context_base.hpp

Convenience header: boost/asio/ssl.hpp


PrevUpHomeNext