Lines Matching refs:CAPI_CTX
108 typedef struct CAPI_CTX_st CAPI_CTX; typedef
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; in capi_ctrl()
411 CAPI_CTX *ctx; in capi_init()
512 CAPI_CTX *ctx; in capi_finish()
799 CAPI_CTX *ctx; in capi_load_privkey()
840 CAPI_CTX *ctx; in capi_rsa_sign()
932 CAPI_CTX *ctx; in capi_rsa_priv_dec()
1012 CAPI_CTX *ctx; in capi_dsa_do_sign()
1083 static void capi_vtrace(CAPI_CTX *ctx, int level, char *format, in capi_vtrace()
1099 static void CAPI_trace(CAPI_CTX *ctx, char *format, ...) in CAPI_trace()
1154 static int capi_get_provname(CAPI_CTX *ctx, LPSTR *pname, DWORD *ptype, in capi_get_provname()
1196 static int capi_list_providers(CAPI_CTX *ctx, BIO *out) in capi_list_providers()
1215 static int capi_list_containers(CAPI_CTX *ctx, BIO *out) in capi_list_containers()
1297 static CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx, in capi_get_prov_info()
1322 static void capi_dump_prov_info(CAPI_CTX *ctx, BIO *out, in capi_dump_prov_info()
1346 static char *capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert) in capi_cert_get_fname()
1371 static void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert) in capi_dump_cert()
1413 static HCERTSTORE capi_open_store(CAPI_CTX *ctx, char *storename) in capi_open_store()
1432 int capi_list_certs(CAPI_CTX *ctx, BIO *out, char *id) in capi_list_certs()
1470 static PCCERT_CONTEXT capi_find_cert(CAPI_CTX *ctx, const char *id, in capi_find_cert()
1501 static CAPI_KEY *capi_get_key(CAPI_CTX *ctx, const WCHAR *contname, in capi_get_key()
1552 static CAPI_KEY *capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert) in capi_get_cert_key()
1567 CAPI_KEY *capi_find_key(CAPI_CTX *ctx, const char *id) in capi_find_key()
1622 static CAPI_CTX *capi_ctx_new(void) in capi_ctx_new()
1624 CAPI_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in capi_ctx_new()
1640 static void capi_ctx_free(CAPI_CTX *ctx) in capi_ctx_free()
1652 static int capi_ctx_set_provname(CAPI_CTX *ctx, LPSTR pname, DWORD type, in capi_ctx_set_provname()
1687 static int capi_ctx_set_provname_idx(CAPI_CTX *ctx, int idx) in capi_ctx_set_provname_idx()
1727 CAPI_CTX *ctx; in capi_load_ssl_client_cert()
1850 CAPI_CTX *ctx; in cert_select_dialog()