Lines Matching defs:options
39 bool VerifyElf::Verify(Options* options)
42 if (options == nullptr) {
43 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "Param options is null.");
46 if (!CheckParams(options)) {
50 std::string filePath = options->GetString(Options::IN_FILE);
59 bool verifyElfFileFlag = VerifyElfFile(filePath, profileVec, options, pkcs7Context);
66 int32_t writeVerifyOutputFlag = hapVerify.WriteVerifyOutput(pkcs7Context, profileVec, options);
75 Options* options, Pkcs7Context& pkcs7Context)
85 bool verifyP7b = VerifyP7b(signBlockInfo.GetSignBlockMap(), options, pkcs7Context, profileVec, profileJson);
106 Options* options, Pkcs7Context& pkcs7Context,
356 bool VerifyElf::CheckParams(Options* options)
358 bool certEmpty = options->GetString(Options::OUT_CERT_CHAIN).empty();
363 bool profileEmpty = options->GetString(Options::OUT_PROFILE).empty();
368 bool proofEmpty = options->GetString(Options::PROOF_FILE).empty();