172
198
Credential(const Credential&);
174
200
void InitCredential(const std::string& cert, const std::string& key, const std::string& cadir,
177
203
/**load key from argument keybio, and put key information into argument pkey */
206
//void loadKeyFile(const std::string& keyfile, EVP_PKEY* &pkey, const std::string& passphrase = "");
180
208
//void loadKey(BIO* bio, EVP_PKEY* &pkey, const std::string& passphrase = "", const std::string& prompt_info = "", const bool is_file = true);
182
210
/**load certificate from argument certbio, and put certificate information into