• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/OpenSSL098-52/src/engines/

Lines Matching defs:cert

1195 CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1200 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, NULL, &len))
1208 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, pinfo, &len))
1241 char * capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1247 if (!CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, NULL, &dlen))
1250 if (CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, wfname, &dlen))
1264 void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert)
1272 fname = capi_cert_get_fname(ctx, cert);
1282 p = cert->pbCertEncoded;
1283 x = d2i_X509(NULL, &p, cert->cbCertEncoded);
1300 pinfo = capi_get_prov_info(ctx, cert);
1337 PCCERT_CONTEXT cert = NULL;
1349 cert = capi_find_cert(ctx, id, hstore);
1350 if (!cert)
1355 capi_dump_cert(ctx, out, cert);
1356 CertFreeCertificateContext(cert);
1363 cert = CertEnumCertificatesInStore(hstore, cert);
1364 if (!cert)
1367 capi_dump_cert(ctx, out, cert);
1377 PCCERT_CONTEXT cert = NULL;
1389 cert = CertEnumCertificatesInStore(hstore, cert);
1390 if (!cert)
1392 fname = capi_cert_get_fname(ctx, cert);
1401 return cert;
1440 static CAPI_KEY *capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1445 pinfo = capi_get_prov_info(ctx, cert);
1467 PCCERT_CONTEXT cert;
1477 cert = capi_find_cert(ctx, id, hstore);
1478 if (cert)
1480 key = capi_get_cert_key(ctx, cert);
1481 CertFreeCertificateContext(cert);
1612 PCCERT_CONTEXT cert = NULL, excert = NULL;
1630 cert = CertEnumCertificatesInStore(hstore, cert);
1631 if (!cert)
1633 p = cert->pbCertEncoded;
1634 x = d2i_X509(NULL, &p, cert->cbCertEncoded);
1643 key = capi_get_cert_key(ctx, cert);
1652 excert = CertDuplicateCertificateContext(cert);
1666 if (cert)
1667 CertFreeCertificateContext(cert);
1710 /* Simple client cert selection function: always select first */
1719 /* More complex cert selection function, using standard function
1741 PCCERT_CONTEXT cert;
1779 cert = ctx->certselectdlg(dstore, hwnd, dlg_title, dlg_prompt,
1782 /* Find matching cert from list */
1783 if (cert)
1791 cert->pCertInfo,