Lines Matching defs:CAPI_CTX
108 typedef struct CAPI_CTX_st CAPI_CTX;
114 static void CAPI_trace(CAPI_CTX *ctx, char *format, ...);
116 static int capi_list_providers(CAPI_CTX *ctx, BIO *out);
117 static int capi_list_containers(CAPI_CTX *ctx, BIO *out);
118 int capi_list_certs(CAPI_CTX *ctx, BIO *out, char *storename);
121 static PCCERT_CONTEXT capi_find_cert(CAPI_CTX *ctx, const char *id,
124 CAPI_KEY *capi_find_key(CAPI_CTX *ctx, const char *id);
198 static CAPI_CTX *capi_ctx_new(void);
199 static void capi_ctx_free(CAPI_CTX *ctx);
200 static int capi_ctx_set_provname(CAPI_CTX *ctx, LPSTR pname, DWORD type,
202 static int capi_ctx_set_provname_idx(CAPI_CTX *ctx, int idx);
289 CAPI_CTX *ctx;
411 CAPI_CTX *ctx;
512 CAPI_CTX *ctx;
799 CAPI_CTX *ctx;
840 CAPI_CTX *ctx;
932 CAPI_CTX *ctx;
1012 CAPI_CTX *ctx;
1083 static void capi_vtrace(CAPI_CTX *ctx, int level, char *format,
1099 static void CAPI_trace(CAPI_CTX *ctx, char *format, ...)
1154 static int capi_get_provname(CAPI_CTX *ctx, LPSTR *pname, DWORD *ptype,
1196 static int capi_list_providers(CAPI_CTX *ctx, BIO *out)
1215 static int capi_list_containers(CAPI_CTX *ctx, BIO *out)
1297 static CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx,
1322 static void capi_dump_prov_info(CAPI_CTX *ctx, BIO *out,
1346 static char *capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1371 static void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert)
1413 static HCERTSTORE capi_open_store(CAPI_CTX *ctx, char *storename)
1432 int capi_list_certs(CAPI_CTX *ctx, BIO *out, char *id)
1470 static PCCERT_CONTEXT capi_find_cert(CAPI_CTX *ctx, const char *id,
1501 static CAPI_KEY *capi_get_key(CAPI_CTX *ctx, const WCHAR *contname,
1552 static CAPI_KEY *capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert)
1567 CAPI_KEY *capi_find_key(CAPI_CTX *ctx, const char *id)
1620 /* Initialize a CAPI_CTX structure */
1622 static CAPI_CTX *capi_ctx_new(void)
1624 CAPI_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
1640 static void capi_ctx_free(CAPI_CTX *ctx)
1652 static int capi_ctx_set_provname(CAPI_CTX *ctx, LPSTR pname, DWORD type,
1687 static int capi_ctx_set_provname_idx(CAPI_CTX *ctx, int idx)
1727 CAPI_CTX *ctx;
1850 CAPI_CTX *ctx;