Searched refs:EnforceCodeSignForFile (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/base/security/code_signature/test/unittest/ |
H A D | sign_and_enforce_test.cpp | 166 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH, empty); 180 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_TAMPER_AN_PATH, sig); 195 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH, sig); 211 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH, wrongSig); 227 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH, wrongSig); 241 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH, sig);
|
H A D | code_sign_utils_test.cpp | 268 int ret = CodeSignUtils::EnforceCodeSignForFile(g_wrongFileEnableFail, buffer); 286 ret = CodeSignUtils::EnforceCodeSignForFile(g_fileEnableSuc, buffer); 302 int ret = CodeSignUtils::EnforceCodeSignForFile("invalidPath", buffer); 318 int ret = CodeSignUtils::EnforceCodeSignForFile(g_fileEnableSuc, NULL, buffer.GetSize()); 321 ret = CodeSignUtils::EnforceCodeSignForFile(g_fileEnableSuc, buffer.GetBuffer(), 0); 337 int32_t ret = CodeSignUtils::EnforceCodeSignForFile(g_fileEnableSuc, buffer);
|
H A D | multi_thread_local_sign_test.cpp | 97 ret = CodeSignUtils::EnforceCodeSignForFile(tmpFileName, sig); in LocalCodeSignAndEnforce() 115 ret = CodeSignUtils::EnforceCodeSignForFile(tmpFileName, sig); in LocalCodeSignAndEnforceWithOwnerID()
|
H A D | local_code_sign_test.cpp | 96 ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH, sig); 200 ret = CodeSignUtils::EnforceCodeSignForFile(DEMO_AN_PATH2, sig);
|
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/include/ |
H A D | code_sign_utils.h | 80 …static int32_t EnforceCodeSignForFile(const std::string &path, const uint8_t *signature, const uin… 88 static int32_t EnforceCodeSignForFile(const std::string &path, const ByteBuffer &signature);
|
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/ |
H A D | code_sign_utils.cpp | 101 …ret = EnforceCodeSignForFile(targetFile, signatureBuffer.get(), static_cast<const uint32_t>(signat… in EnforceCodeSignForApp() 125 int32_t CodeSignUtils::EnforceCodeSignForFile(const std::string &path, const ByteBuffer &signature) in EnforceCodeSignForFile() function in OHOS::Security::CodeSign::CodeSignUtils 127 return EnforceCodeSignForFile(path, signature.GetBuffer(), signature.GetSize()); in EnforceCodeSignForFile() 176 int32_t CodeSignUtils::EnforceCodeSignForFile(const std::string &path, const uint8_t *signature, in EnforceCodeSignForFile() function in OHOS::Security::CodeSign::CodeSignUtils
|
/ohos5.0/base/security/code_signature/ |
H A D | README_zh.md | 46 | int32_t EnforceCodeSignForFile(const std::string &path, const ByteBuffer &signature); | 对文件使能代码签名…
|
H A D | README.md | 44 | int32_t EnforceCodeSignForFile(const std::string &path, const ByteBuffer &signature); | Enforces …
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/ |
H A D | aot_executor.cpp | 202 … Security::CodeSign::CodeSignUtils::EnforceCodeSignForFile(anFileName, signData.data(), dataSize); in EnforceCodeSign()
|