Lines Matching refs:CAPI_CTX

100 typedef struct CAPI_CTX_st CAPI_CTX;
106 static void CAPI_trace(CAPI_CTX * ctx, char *format, ...);
108 static int capi_list_providers(CAPI_CTX * ctx, BIO *out);
109 static int capi_list_containers(CAPI_CTX * ctx, BIO *out);
110 int capi_list_certs(CAPI_CTX * ctx, BIO *out, char *storename);
113 static PCCERT_CONTEXT capi_find_cert(CAPI_CTX * ctx, const char *id,
116 CAPI_KEY *capi_find_key(CAPI_CTX * ctx, const char *id);
195 static CAPI_CTX *capi_ctx_new();
196 static void capi_ctx_free(CAPI_CTX * ctx);
197 static int capi_ctx_set_provname(CAPI_CTX * ctx, LPSTR pname, DWORD type,
199 static int capi_ctx_set_provname_idx(CAPI_CTX * ctx, int idx);
286 CAPI_CTX *ctx;
411 CAPI_CTX *ctx;
477 CAPI_CTX *ctx;
721 CAPI_CTX *ctx;
762 CAPI_CTX *ctx;
842 CAPI_CTX *ctx;
901 CAPI_CTX *ctx;
973 static void capi_vtrace(CAPI_CTX * ctx, int level, char *format,
985 static void CAPI_trace(CAPI_CTX * ctx, char *format, ...)
1031 static int capi_get_provname(CAPI_CTX * ctx, LPSTR * pname, DWORD * ptype,
1061 static int capi_list_providers(CAPI_CTX * ctx, BIO *out)
1080 static int capi_list_containers(CAPI_CTX * ctx, BIO *out)
1147 CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX * ctx, PCCERT_CONTEXT cert)
1171 static void capi_dump_prov_info(CAPI_CTX * ctx, BIO *out,
1196 char *capi_cert_get_fname(CAPI_CTX * ctx, PCCERT_CONTEXT cert)
1219 void capi_dump_cert(CAPI_CTX * ctx, BIO *out, PCCERT_CONTEXT cert)
1261 HCERTSTORE capi_open_store(CAPI_CTX * ctx, char *storename)
1280 int capi_list_certs(CAPI_CTX * ctx, BIO *out, char *id)
1319 static PCCERT_CONTEXT capi_find_cert(CAPI_CTX * ctx, const char *id,
1351 static CAPI_KEY *capi_get_key(CAPI_CTX * ctx, const char *contname,
1382 static CAPI_KEY *capi_get_cert_key(CAPI_CTX * ctx, PCCERT_CONTEXT cert)
1407 CAPI_KEY *capi_find_key(CAPI_CTX * ctx, const char *id)
1445 /* Initialize a CAPI_CTX structure */
1447 static CAPI_CTX *capi_ctx_new()
1449 CAPI_CTX *ctx;
1450 ctx = OPENSSL_malloc(sizeof(CAPI_CTX));
1470 static void capi_ctx_free(CAPI_CTX * ctx)
1486 static int capi_ctx_set_provname(CAPI_CTX * ctx, LPSTR pname, DWORD type,
1508 static int capi_ctx_set_provname_idx(CAPI_CTX * ctx, int idx)
1548 CAPI_CTX *ctx;
1671 CAPI_CTX *ctx;