/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/verify/ |
H A D | hap_verify_v2.h | 39 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 D | hap_verify_openssl_utils.h | 53 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 D | hap_profile_verify_utils.h | 29 …DLL_EXPORT static bool ParseProfile(Pkcs7Context& profilePkcs7Context, const Pkcs7Context& hapPkcs… 31 DLL_EXPORT static bool VerifyProfile(Pkcs7Context& pkcs7Context);
|
H A D | pkcs7_context.h | 33 struct Pkcs7Context { struct 43 Pkcs7Context() in Pkcs7Context() argument 49 ~Pkcs7Context() in ~Pkcs7Context() argument
|
H A D | hap_cert_verify_openssl_utils.h | 37 …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 D | hap_signing_block_utils.h | 60 DLL_EXPORT static bool VerifyHapIntegrity(Pkcs7Context& digestInfo, RandomAccessFile& hapFile,
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/verify/ |
H A D | hap_verify_v2.cpp | 101 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 D | hap_profile_verify_utils.cpp | 28 bool HapProfileVerifyUtils::ParseProfile(Pkcs7Context& profilePkcs7Context, const Pkcs7Context& hap… in ParseProfile() 48 bool HapProfileVerifyUtils::VerifyProfile(Pkcs7Context& pkcs7Context) in VerifyProfile()
|
H A D | hap_verify_openssl_utils.cpp | 50 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 D | hap_cert_verify_openssl_utils.cpp | 301 Pkcs7Context& pkcs7Context) in GetCertsChain() 434 …pensslUtils::VerifyCrl(CertChain& certsChain, STACK_OF(X509_CRL)* crls, Pkcs7Context& pkcs7Context) in VerifyCrl()
|
H A D | hap_signing_block_utils.cpp | 424 Pkcs7Context& digestInfo, RandomAccessFile& hapFile, SignatureInfo& signInfo) in VerifyHapIntegrity()
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
H A D | hap_verify_v2_test.cpp | 191 Pkcs7Context pkcs7Context; 192 Pkcs7Context profileContext; 259 Pkcs7Context digest;
|
H A D | hap_verify_openssl_utils_test.cpp | 67 Pkcs7Context digest;
|
H A D | hap_cert_verify_openssl_utils_test.cpp | 210 Pkcs7Context pkcs7Context; 326 Pkcs7Context pkcs7Context;
|
H A D | hap_signing_block_utils_test.cpp | 201 Pkcs7Context digestInfo;
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/init/ |
H A D | hap_crl_manager.h | 37 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 D | hap_crl_manager.cpp | 173 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 D | ticket_verify.cpp | 160 bool VerifyTicketSignature(HapByteBuffer& ticketBlock, Pkcs7Context& pkcs7Context, std::string& tic… in VerifyTicketSignature() 236 Pkcs7Context pkcs7Context; in VerifyTicket()
|