Home
last modified time | relevance | path

Searched refs:digestStr (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/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()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/class_hashstream/
H A Dhashstream_n_exporter.cpp136 string digestStr; in Digest() local
141 digestStr = HashFinal(res, MD5_DIGEST_LENGTH); in Digest()
147 digestStr = HashFinal(res, SHA_DIGEST_LENGTH); in Digest()
153 digestStr = HashFinal(res, SHA256_DIGEST_LENGTH); in Digest()
160 return NVal::CreateUTF8String(env, digestStr).val_; in Digest()
/ohos5.0/base/account/os_account/services/accountmgr/src/
H A Daccount_file_watcher_manager.cpp385 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr) in GenerateAccountInfoDigestStr() argument
408 digestStr = accountInfoDigestJson.dump(); in GenerateAccountInfoDigestStr()
418 std::string digestStr; in AddAccountInfoDigest() local
419 if (GenerateAccountInfoDigestStr(userInfoPath, accountInfo, digestStr) == ERR_OK) { in AddAccountInfoDigest()
421 …countFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INFO_DIGEST_FILE_PATH, digestStr); in AddAccountInfoDigest()
/ohos5.0/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()
/ohos5.0/base/account/os_account/services/accountmgr/include/
H A Dohos_account_data_deal.h52 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);
H A Daccount_file_watcher_manager.h63 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);
/ohos5.0/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);