Lines Matching refs:pkcs7Context
198 Pkcs7Context pkcs7Context;
199 if (!VerifyAppPkcs7(pkcs7Context, hapSignInfo.hapSignatureBlock)) {
203 if (!GetDigestAndAlgorithm(pkcs7Context)) {
209 if (!VerifyHapOpensslUtils::GetCrlStack(pkcs7Context.p7, x509Crl)) {
214 if (!VerifyCertOpensslUtils::VerifyCrl(pkcs7Context.certChain[0], x509Crl, pkcs7Context)) {
219 if (!HapSignerBlockUtils::VerifyHapIntegrity(pkcs7Context, hapFile, hapSignInfo)) {
223 if (!HapOutPutCertChain(pkcs7Context.certChain[0],
320 bool VerifyHap::VerifyAppPkcs7(Pkcs7Context& pkcs7Context, const ByteBuffer& hapSignatureBlock)
324 if (!VerifyHapOpensslUtils::ParsePkcs7Package(pkcs7Block, pkcs7Len, pkcs7Context)) {
328 if (!VerifyHapOpensslUtils::GetCertChains(pkcs7Context.p7, pkcs7Context)) {
332 if (!VerifyHapOpensslUtils::VerifyPkcs7(pkcs7Context)) {
383 int32_t VerifyHap::WriteVerifyOutput(Pkcs7Context& pkcs7Context, std::vector<int8_t>& profile, Options* options)
385 if (pkcs7Context.certChain.size() > 0) {
386 bool flag = VerifyHap::HapOutPutCertChain(pkcs7Context.certChain[0],
393 if (pkcs7Context.p7 == nullptr) {
402 bool pkcs7flag = VerifyHap::HapOutPutPkcs7(pkcs7Context.p7, options->GetString(Options::OUT_PROFILE));