boost::corosio::tls_verify_mode

Peer certificate verification mode.

Synopsis

enum class tls_verify_mode : int;

Description

Controls how the TLS implementation verifies the peer's certificate during the handshake.

Members

Name

Description

none

Do not request or verify the peer certificate.

peer

Request and verify the peer certificate if presented.

require_peer

Require and verify the peer certificate (fail if not presented).

See Also

tls_context::set_verify_mode

Created with MrDocs