* 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
| 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) { |