Home
last modified time | relevance | path

Searched refs:VerifyFunction (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_upgradefile.h130 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verify = nullptr) override;
168 VerifyFunction verifier, const std::vector<uint8_t> &signData);
180 int32_t VerifyHeader(DigestAlgorithm::DigestAlgorithmPtr algorithm, VerifyFunction verifier,
183 VerifyFunction verifier);
185 VerifyFunction verifier);
187 VerifyFunction verifier);
H A Dpkg_lz4file.h69 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_gzipfile.h77 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_pkgfile.h47 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_upgradefile.cpp435 int32_t UpgradePkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage()
481 VerifyFunction verifier) in VerifyFile()
491 VerifyFunction verifier) in VerifyFileV1()
505 VerifyFunction verifier) in VerifyFileV2()
531 VerifyFunction verifier, const std::vector<uint8_t> &signData) in Verify()
567 VerifyFunction verifier, const std::vector<uint8_t> &signData) in VerifyHeader()
H A Dpkg_zipfile.h194 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_lz4file.cpp176 int32_t Lz4PkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage()
H A Dpkg_gzipfile.cpp355 int32_t GZipPkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage()
H A Dpkg_zipfile.cpp185 int32_t ZipPkgFile::LoadPackage(std::vector<std::string>& fileNames, VerifyFunction verifier) in LoadPackage()
/ohos5.0/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algorithm.h66 using VerifyFunction = std::function<int32_t(PkgBuffer &buffer, size_t len, size_t offset)>; variable
83 PkgAlgorithmContext &context, VerifyFunction verifier = nullptr);
H A Dpkg_algorithm.cpp153 PkgAlgorithmContext &context, VerifyFunction verifier) in UnpackWithVerify()
/ohos5.0/base/update/updater/services/include/package/
H A Dpkg_manager.h121 using VerifyFunction = std::function<int(const PkgInfoPtr info, variable
133 …virtual int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr…
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_asset_operations.h214 using VerifyFunction = bool (*) (NativeRdb::ValueObject&, MediaLibraryCommand&); variable
230 … static const std::unordered_map<std::string, std::vector<VerifyFunction>> UPDATE_VERIFY_PARAM_MAP;
/ohos5.0/base/update/updater/test/unittest/package/
H A Dpkg_package_unittest.cpp61 … virtual int32_t LoadPackage(std::vector<std::string>& fileNames, VerifyFunction verify = nullptr) in LoadPackage()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_asset_operations.cpp1956 const std::unordered_map<std::string, std::vector<VerifyFunction>>