Lines Matching refs:pubkey
596 bool LoadPublicKey(const string& pubkey_filename, string &pubkey)
611 WRITE_LOG(LOG_FATAL, "read pubkey from %s failed", pubkey_filename.c_str());
629 pubkey = string(buf, len);
631 WRITE_LOG(LOG_INFO, "load pubkey from file(%s) success", pubkey_filename.c_str());
649 bool TryLoadPublicKey(string &pubkey)
664 if (!LoadPublicKey(pubkey_filename, pubkey)) {
669 WRITE_LOG(LOG_INFO, "load pubkey success");
700 string pubkey;
701 if (!HdcAuth::TryLoadPublicKey(pubkey)) {
707 pubkey_info.append(pubkey);
709 WRITE_LOG(LOG_INFO, "Get pubkey info success");