• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/engines/

Lines Matching refs:cert

1217 CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1222 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, NULL, &len))
1230 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, pinfo, &len))
1263 char * capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1269 if (!CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, NULL, &dlen))
1272 if (CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, wfname, &dlen))
1286 void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert)
1294 fname = capi_cert_get_fname(ctx, cert);
1304 p = cert->pbCertEncoded;
1305 x = d2i_X509(NULL, &p, cert->cbCertEncoded);
1322 pinfo = capi_get_prov_info(ctx, cert);
1359 PCCERT_CONTEXT cert = NULL;
1371 cert = capi_find_cert(ctx, id, hstore);
1372 if (!cert)
1377 capi_dump_cert(ctx, out, cert);
1378 CertFreeCertificateContext(cert);
1385 cert = CertEnumCertificatesInStore(hstore, cert);
1386 if (!cert)
1389 capi_dump_cert(ctx, out, cert);
1399 PCCERT_CONTEXT cert = NULL;
1411 cert = CertEnumCertificatesInStore(hstore, cert);
1412 if (!cert)
1414 fname = capi_cert_get_fname(ctx, cert);
1423 return cert;
1462 static CAPI_KEY *capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1467 pinfo = capi_get_prov_info(ctx, cert);
1489 PCCERT_CONTEXT cert;
1499 cert = capi_find_cert(ctx, id, hstore);
1500 if (cert)
1502 key = capi_get_cert_key(ctx, cert);
1503 CertFreeCertificateContext(cert);
1634 PCCERT_CONTEXT cert = NULL, excert = NULL;
1652 cert = CertEnumCertificatesInStore(hstore, cert);
1653 if (!cert)
1655 p = cert->pbCertEncoded;
1656 x = d2i_X509(NULL, &p, cert->cbCertEncoded);
1665 key = capi_get_cert_key(ctx, cert);
1674 excert = CertDuplicateCertificateContext(cert);
1688 if (cert)
1689 CertFreeCertificateContext(cert);
1732 /* Simple client cert selection function: always select first */
1741 /* More complex cert selection function, using standard function
1763 PCCERT_CONTEXT cert;
1801 cert = ctx->certselectdlg(dstore, hwnd, dlg_title, dlg_prompt,
1804 /* Find matching cert from list */
1805 if (cert)
1813 cert->pCertInfo,