Home
last modified time | relevance | path

Searched refs:Pkcs7Context (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/verify/
H A Dhap_verify_v2.h39 bool VerifyAppPkc7AndParseProfile(Pkcs7Context& pkcs7Context, HapByteBuffer& hapProfileBlock,
41 …bool VerifyAppSourceAndParseProfile(Pkcs7Context& pkcs7Context, const HapByteBuffer& hapProfileBlo…
43 bool VerifyAppPkcs7(Pkcs7Context& pkcs7Context, const HapByteBuffer& hapSignatureBlock);
44 bool VerifyAppSource(Pkcs7Context& pkcs7Context, Pkcs7Context& profileContext);
45 DLL_EXPORT bool GetDigestAndAlgorithm(Pkcs7Context& digest);
47 void WriteCrlIfNeed(const Pkcs7Context& pkcs7Context, const bool& profileNeedWriteCrl);
51 …DLL_EXPORT bool VerifyProfileInfo(const Pkcs7Context& pkcs7Context, const Pkcs7Context& profileCon…
56 bool VerifyProfileSignature(const Pkcs7Context& pkcs7Context, Pkcs7Context& profileContext);
57 void SetProfileBlockData(const Pkcs7Context& pkcs7Context, const HapByteBuffer& hapProfileBlock,
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/util/
H A Dhap_verify_openssl_utils.h53 uint32_t packageLen, Pkcs7Context& pkcs7Context);
54 DLL_EXPORT static bool GetCertChains(PKCS7* p7, Pkcs7Context& pkcs7Context);
55 DLL_EXPORT static bool VerifyPkcs7(Pkcs7Context& pkcs7Context);
68 DLL_EXPORT static bool VerifyPkcs7SignedData(Pkcs7Context& pkcs7Context);
70 BIO* p7Bio, int32_t signInfoNum, Pkcs7Context& pkcs7Context);
77 Pkcs7Context& pkcs7Context, CertSign& certVisitSign);
H A Dhap_profile_verify_utils.h29 …DLL_EXPORT static bool ParseProfile(Pkcs7Context& profilePkcs7Context, const Pkcs7Context& hapPkcs…
31 DLL_EXPORT static bool VerifyProfile(Pkcs7Context& pkcs7Context);
H A Dpkcs7_context.h33 struct Pkcs7Context { struct
43 Pkcs7Context() in Pkcs7Context() argument
49 ~Pkcs7Context() in ~Pkcs7Context() argument
H A Dhap_cert_verify_openssl_utils.h37 …tic bool GetCertsChain(CertChain& certsChain, CertSign& certVisitSign, Pkcs7Context& pkcs7Context);
44 …DLL_EXPORT static bool VerifyCrl(CertChain& certsChain, STACK_OF(X509_CRL)* crls, Pkcs7Context& pk…
H A Dhap_signing_block_utils.h60 DLL_EXPORT static bool VerifyHapIntegrity(Pkcs7Context& digestInfo, RandomAccessFile& hapFile,
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/verify/
H A Dhap_verify_v2.cpp101 Pkcs7Context pkcs7Context; in Verify()
139 bool HapVerifyV2::VerifyAppPkcs7(Pkcs7Context& pkcs7Context, const HapByteBuffer& hapSignatureBlock) in VerifyAppPkcs7()
158 bool HapVerifyV2::VerifyAppSourceAndParseProfile(Pkcs7Context& pkcs7Context, in VerifyAppSourceAndParseProfile()
180 Pkcs7Context profileContext; in VerifyAppSourceAndParseProfile()
236 bool HapVerifyV2::VerifyProfileSignature(const Pkcs7Context& pkcs7Context, Pkcs7Context& profileCon… in VerifyProfileSignature()
282 void HapVerifyV2::SetProfileBlockData(const Pkcs7Context& pkcs7Context, const HapByteBuffer& hapPro… in SetProfileBlockData()
309 bool HapVerifyV2::VerifyProfileInfo(const Pkcs7Context& pkcs7Context, const Pkcs7Context& profileCo… in VerifyProfileInfo()
369 void HapVerifyV2::WriteCrlIfNeed(const Pkcs7Context& pkcs7Context, const bool& profileNeedWriteCrl) in WriteCrlIfNeed()
392 bool HapVerifyV2::GetDigestAndAlgorithm(Pkcs7Context& digest) in GetDigestAndAlgorithm()
463 Pkcs7Context profileContext; in ParseHapProfile()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/util/
H A Dhap_profile_verify_utils.cpp28 bool HapProfileVerifyUtils::ParseProfile(Pkcs7Context& profilePkcs7Context, const Pkcs7Context& hap… in ParseProfile()
48 bool HapProfileVerifyUtils::VerifyProfile(Pkcs7Context& pkcs7Context) in VerifyProfile()
H A Dhap_verify_openssl_utils.cpp50 uint32_t packageLen, Pkcs7Context& pkcs7Context) in ParsePkcs7Package()
70 bool HapVerifyOpensslUtils::GetCertChains(PKCS7* p7, Pkcs7Context& pkcs7Context) in GetCertChains()
119 PKCS7_SIGNER_INFO* signInfo, Pkcs7Context& pkcs7Context, CertSign& certVisitSign) in VerifyCertChain()
145 bool HapVerifyOpensslUtils::VerifyPkcs7(Pkcs7Context& pkcs7Context) in VerifyPkcs7()
159 bool HapVerifyOpensslUtils::VerifyPkcs7SignedData(Pkcs7Context& pkcs7Context) in VerifyPkcs7SignedData()
200 BIO* p7Bio, int32_t signInfoNum, Pkcs7Context& pkcs7Context) { in VerifySignInfo()
H A Dhap_cert_verify_openssl_utils.cpp301 Pkcs7Context& pkcs7Context) in GetCertsChain()
434 …pensslUtils::VerifyCrl(CertChain& certsChain, STACK_OF(X509_CRL)* crls, Pkcs7Context& pkcs7Context) in VerifyCrl()
H A Dhap_signing_block_utils.cpp424 Pkcs7Context& digestInfo, RandomAccessFile& hapFile, SignatureInfo& signInfo) in VerifyHapIntegrity()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_verify_v2_test.cpp191 Pkcs7Context pkcs7Context;
192 Pkcs7Context profileContext;
259 Pkcs7Context digest;
H A Dhap_verify_openssl_utils_test.cpp67 Pkcs7Context digest;
H A Dhap_cert_verify_openssl_utils_test.cpp210 Pkcs7Context pkcs7Context;
326 Pkcs7Context pkcs7Context;
H A Dhap_signing_block_utils_test.cpp201 Pkcs7Context digestInfo;
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/init/
H A Dhap_crl_manager.h37 DLL_EXPORT bool CrlCheck(X509* cert, X509_CRL* targetCrl, Pkcs7Context& pkcs7Context);
48 DLL_EXPORT X509_CRL* GetFinalCrl(X509_CRL* crlInPackage, Pkcs7Context& pkcs7Context);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/init/
H A Dhap_crl_manager.cpp173 bool HapCrlManager::CrlCheck(X509* cert, X509_CRL* targetCrl, Pkcs7Context& pkcs7Context) in CrlCheck()
203 X509_CRL* HapCrlManager::GetFinalCrl(X509_CRL* crlInPackage, Pkcs7Context& pkcs7Context) in GetFinalCrl()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/ticket/
H A Dticket_verify.cpp160 bool VerifyTicketSignature(HapByteBuffer& ticketBlock, Pkcs7Context& pkcs7Context, std::string& tic… in VerifyTicketSignature()
236 Pkcs7Context pkcs7Context; in VerifyTicket()