MCPcopy Create free account
hub / github.com/acl-dev/acl / add_cert

Function add_cert

lib_acl_cpp/include/acl_cpp/stream/sslbase_conf.hpp:118–124  ·  view source on GitHub ↗

* Add a server/client's own certificate. Can call this method multiple times * to load multiple certificates * @param crt_file {const char*} Full path of certificate file, non-empty * @param key_file {const char*} Full path of key file, non-empty * @param key_pass {const char*} Password of key file. Can write NULL if there * is no key password * @return {bool} Whether adding certificat

Source from the content-addressed store, hash-verified

116 * @return {bool} Whether adding certificate was successful
117 */
118 virtual bool add_cert(const char* crt_file, const char* key_file,
119 const char* key_pass) {
120 (void) crt_file;
121 (void) key_file;
122 (void) key_pass;
123 return false;
124 }
125
126 // Only for compatibility with old API
127 bool add_cert(const char* crt_file, const char* key_file) {

Callers 3

set_keyMethod · 0.50
set_keyMethod · 0.50
add_certMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…