Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
ssl::basic_context::add_verify_path (1 of 2 overloads)

Add a directory containing certificate authority files to be used for performing verification.

void add_verify_path(
    const std::string & path);

This function is used to specify the name of a directory containing certification authority certificates. Each file in the directory must contain a single certificate. The files must be named using the subject name's hash and an extension of ".0".



The name of a directory containing the certificates.



Thrown on failure.