Home
last modified time | relevance | path

Searched refs:certChain (Results 1 - 9 of 9) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/common/include/
H A Dpkcs7_context.h37 Pkcs7CertChains certChain; member
41 p7(nullptr), certChain(), content() in Pkcs7Context()
50 for (auto certChain : certChain) { in ~Pkcs7Context()
51 for (auto cert : certChain) { in ~Pkcs7Context()
55 certChain.clear(); in ~Pkcs7Context()
/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dverify_hap_openssl_utils.cpp98 CertChain certChain; in GetCertChains() local
99 pkcs7Context.certChain.push_back(certChain); in GetCertChains()
100 pkcs7Context.certChain[i].push_back(X509_dup(cert)); in GetCertChains()
103 if (!VerifyCertChain(pkcs7Context.certChain[i], p7, signInfo, pkcs7Context, certVisitSign)) { in GetCertChains()
212 X509* cert = pkcs7Context.certChain[signInfoNum][0];
/developtools/hapsigner/hapsigntool_cpp_test/fuzztest/process_cmd/processcmd023_fuzzer/
H A Dprocesscmd023_fuzzer.cpp33 std::vector<X509*> certChain; in DoSomethingInterestingWithMyAPI() local
45 serviceImplPtr->PrintX509CertChainFromMemory(certChain); in DoSomethingInterestingWithMyAPI()
/developtools/hapsigner/hapsigntool_cpp/hap/verify/src/
H A Dverify_hap.cpp136 SIGNATURE_TOOLS_LOGE("certChain write to file falied!\n"); in HapOutPutCertChain()
214 if (!VerifyCertOpensslUtils::VerifyCrl(pkcs7Context.certChain[0], x509Crl, pkcs7Context)) { in Verify()
223 if (!HapOutPutCertChain(pkcs7Context.certChain[0], in Verify()
385 if (pkcs7Context.certChain.size() > 0) { in WriteVerifyOutput()
386 bool flag = VerifyHap::HapOutPutCertChain(pkcs7Context.certChain[0], in WriteVerifyOutput()
410 bool VerifyHap::PrintCertChainToCmd(std::vector<X509*>& certChain) in PrintCertChainToCmd() argument
420 for (auto& cert : certChain) { in PrintCertChainToCmd()
/developtools/hapsigner/hapsigntool_cpp/profile/src/
H A Dpkcs7_data.cpp349 std::list<X509*>certChain; variable
376 certChain.push_front(tmp);
378 certChain.push_front(tmp);
388 for (X509* cert : certChain) {
426 STACK_OF(X509)* certChain = m_p7->d.sign->cert; in VerifyCertChain()
428 certs = sk_X509_dup(certChain); in VerifyCertChain()
439 if ((result = VerifySignerInfoCertchain(m_p7, signerInfo, certs, certChain)) < 0) { in VerifyCertChain()
471 STACK_OF(X509)* certs, STACK_OF(X509)* certChain)const in VerifySignerInfoCertchain()
507 if (CheckSginerInfoSignTimeInCertChainValidPeriod(signerInfo, certChain) < 0) { in VerifySignerInfoCertchain()
/developtools/hapsigner/hapsigntool_cpp/hap/verify/include/
H A Dverify_hap.h70 static bool PrintCertChainToCmd(std::vector<X509*>& certChain);
/developtools/hapsigner/hapsigntool_cpp_test/unittest/signProfile/
H A Dpkcs7_data_test.cpp154 std::vector<X509*> certChain;
156 certChain.push_back(sk_X509_value(certs, i));
158 std::reverse(certChain.begin(), certChain.end());
160 for (int i = 0; i < static_cast<int>(certChain.size()); i++)
161 sk_X509_push(certs, certChain[i]);
/developtools/hapsigner/hapsigntool_cpp/profile/include/
H A Dpkcs7_data.h117 * @param certChain Certificate chain (with Entity certificates)
123 STACK_OF(X509)* certChain)const;
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/
H A Dhap_signer_block_utils_test.cpp618 pkcs7Context.certChain.push_back(certs); in HWTEST_F()

Completed in 7 milliseconds