Type Definition bearssl::br_ssl_server_policy_class [] [src]

type br_ssl_server_policy_class = br_ssl_server_policy_class_;

\brief Class type for a policy handler (server side).

A policy handler selects the policy parameters for a connection (cipher suite and other algorithms, and certificate chain to send to the client); it also performs the server-side computations involving its permanent private key.

The SSL server engine will invoke first choose(), once the ClientHello message has been received, then either do_keyx() do_sign(), depending on the cipher suite.