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

Function set_key

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

* Add server/client's key (each configuration instance only needs to call this * method once) * @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 setting was successful * @deprecated use add_cert(const char*, const char*, const char*) */

Source from the content-addressed store, hash-verified

150 * @deprecated use add_cert(const char*, const char*, const char*)
151 */
152 virtual bool set_key(const char* key_file, const char* key_pass) {
153 (void) key_file;
154 (void) key_pass;
155 return false;
156 }
157
158 // Only for compatibility with old API
159 bool set_key(const char* key_file) {

Callers 2

add_certMethod · 0.50
OnCloseMethod · 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…