Home
last modified time | relevance | path

Searched refs:digestStr (Results 1 - 6 of 6) sorted by relevance

/base/hiviewdfx/hiview/core/param_update/src/
H A Dlog_sign_tools.cpp52 std::string digestStr; in VerifyFileSign() local
53 FileUtil::LoadStringFromFile(digestPath, digestStr); in VerifyFileSign()
56 if (!(pubKey == nullptr || signStr.empty() || digestStr.empty())) { in VerifyFileSign()
63 verify = VerifyRsa(pubKey, digestStr, signStr); in VerifyFileSign()
66 HIVIEW_LOGE("pubKey or signStr or digestStr is error."); in VerifyFileSign()
/base/account/os_account/services/accountmgr/src/
H A Daccount_file_watcher_manager.cpp377 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr) in GenerateAccountInfoDigestStr()
400 digestStr = accountInfoDigestJson.dump(); in GenerateAccountInfoDigestStr()
410 std::string digestStr; in AddAccountInfoDigest() local
411 if (GenerateAccountInfoDigestStr(userInfoPath, accountInfo, digestStr) == ERR_OK) { in AddAccountInfoDigest()
413 return accountFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INFO_DIGEST_FILE_PATH, digestStr); in AddAccountInfoDigest()
376 GenerateAccountInfoDigestStr( const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr) GenerateAccountInfoDigestStr() argument
/base/global/i18n/frameworks/intl/src/
H A Dsignature_verifier.cpp172 std::string digestStr = GetFileStream(digestPath); in VerifyFileSign() local
175 if (pubkey != nullptr && !signStr.empty() && !digestStr.empty()) { in VerifyFileSign()
181 verify = VerifyRsa(pubkey, digestStr, signStr); in VerifyFileSign()
/base/account/os_account/services/accountmgr/include/
H A Daccount_file_watcher_manager.h63 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);
H A Dohos_account_data_deal.h52 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_control_file_manager.h91 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);

Completed in 4 milliseconds