• Home
  • Raw
  • Download

Lines Matching refs:chain_context

297 void GetCertChainInfo(PCCERT_CHAIN_CONTEXT chain_context,  in GetCertChainInfo()  argument
299 PCERT_SIMPLE_CHAIN first_chain = chain_context->rgpChain[0]; in GetCertChainInfo()
539 bool X509Certificate::IsIssuedByKnownRoot(PCCERT_CHAIN_CONTEXT chain_context) { in IsIssuedByKnownRoot() argument
540 PCERT_SIMPLE_CHAIN first_chain = chain_context->rgpChain[0]; in IsIssuedByKnownRoot()
739 PCCERT_CHAIN_CONTEXT chain_context; in Verify() local
751 &chain_context)) { in Verify()
754 if (chain_context->TrustStatus.dwErrorStatus & in Verify()
759 CertFreeCertificateChain(chain_context); in Verify()
768 &chain_context)) { in Verify()
772 ScopedCertChainContext scoped_chain_context(chain_context); in Verify()
774 GetCertChainInfo(chain_context, verify_result); in Verify()
776 chain_context->TrustStatus.dwErrorStatus); in Verify()
812 chain_context, in Verify()
856 chain_context, in Verify()
875 AppendPublicKeyHashes(chain_context, &verify_result->public_key_hashes); in Verify()
876 verify_result->is_issued_by_known_root = IsIssuedByKnownRoot(chain_context); in Verify()
878 if (ev_policy_oid && CheckEV(chain_context, ev_policy_oid)) in Verify()
904 bool X509Certificate::CheckEV(PCCERT_CHAIN_CONTEXT chain_context, in CheckEV() argument
906 DCHECK(chain_context->cChain != 0); in CheckEV()
910 DWORD error_status = chain_context->TrustStatus.dwErrorStatus; in CheckEV()
911 DWORD info_status = chain_context->TrustStatus.dwInfoStatus; in CheckEV()
912 if (!chain_context->cChain || error_status != CERT_TRUST_NO_ERROR) in CheckEV()
918 PCERT_CHAIN_ELEMENT* element = chain_context->rgpChain[0]->rgpElement; in CheckEV()
919 int num_elements = chain_context->rgpChain[0]->cElement; in CheckEV()