Home
last modified time | relevance | path

Searched refs:outPutPath (Results 1 - 5 of 5) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/api/include/
H A Dsign_tool_service_impl.h49 bool OutPutCertChain(std::vector<X509*>& certs, const std::string& outPutPath);
50 bool OutPutCert(X509* cert, const std::string& outPutPath);
/developtools/hapsigner/hapsigntool_cpp/hap/verify/include/
H A Dverify_hap.h48 bool HapOutPutPkcs7(PKCS7* p7, const std::string& outPutPath);
57 bool HapOutPutCertChain(std::vector<X509*>& certs, const std::string& outPutPath);
/developtools/hapsigner/hapsigntool_cpp/api/src/
H A Dsign_tool_service_impl.cpp555 bool SignToolServiceImpl::OutPutCertChain(std::vector<X509*>& certs, const std::string& outPutPath) in OutPutCertChain() argument
557 SIGNATURE_TOOLS_LOGD("outPutPath = %s", outPutPath.c_str()); in OutPutCertChain()
559 if (!(bio = BIO_new_file(outPutPath.c_str(), "wb"))) { in OutPutCertChain()
560 SIGNATURE_TOOLS_LOGE("failed to open file %s", outPutPath.c_str()); in OutPutCertChain()
577 bool SignToolServiceImpl::OutPutCert(X509* cert, const std::string& outPutPath) in OutPutCert() argument
579 BIO* bio = BIO_new_file(outPutPath.c_str(), "wb"); in OutPutCert()
581 SIGNATURE_TOOLS_LOGE("failed to open file: %s", outPutPath.c_str()); in OutPutCert()
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_hap.cpp64 bool VerifyHap::HapOutPutPkcs7(PKCS7* p7, const std::string& outPutPath) in HapOutPutPkcs7() argument
71 if (FileUtils::Write(p7bContent, outPutPath) < 0) { in HapOutPutPkcs7()
116 bool VerifyHap::HapOutPutCertChain(std::vector<X509*>& certs, const std::string& outPutPath) in HapOutPutCertChain() argument
125 SIGNATURE_TOOLS_LOGD("outPutPath = %s", outPutPath.c_str()); in HapOutPutCertChain()
135 if (FileUtils::Write(outPutCertChainContent, outPutPath) < 0) { in HapOutPutCertChain()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/
H A Dhap_verify_test.cpp326 std::string outPutPath = "./test.log"; in HWTEST_F() local
329 bool ret = verify.HapOutPutPkcs7(p7, outPutPath); in HWTEST_F()
536 std::string outPutPath = "./test.log"; in HWTEST_F() local
539 bool ret = verify.HapOutPutPkcs7(p7, outPutPath); in HWTEST_F()

Completed in 4 milliseconds