16 #define HTTP_MAX_CERT_LOGO_HASH 32
27 unsigned int num_dnsname;
29 unsigned int num_othername;
31 unsigned int num_logo;
34 int soap_init_client(
struct http_ctx *ctx,
const char *address,
35 const char *ca_fname,
const char *username,
36 const char *password,
const char *client_cert,
37 const char *client_key);
38 int soap_reinit_client(
struct http_ctx *ctx);
39 xml_node_t * soap_send_receive(
struct http_ctx *ctx, xml_node_t *node);
42 void http_ocsp_set(
struct http_ctx *ctx,
int val);
43 void http_deinit_ctx(
struct http_ctx *ctx);
45 int http_download_file(
struct http_ctx *ctx,
const char *url,
46 const char *fname,
const char *ca_fname);
47 char * http_post(
struct http_ctx *ctx,
const char *url,
const char *data,
48 const char *content_type,
const char *ext_hdr,
50 const char *username,
const char *password,
51 const char *client_cert,
const char *client_key,
53 void http_set_cert_cb(
struct http_ctx *ctx,
54 int (*cb)(
void *ctx,
struct http_cert *cert),
56 const char * http_get_err(
struct http_ctx *ctx);
57 void http_parse_x509_certificate(
struct http_ctx *ctx,
const char *fname);
Definition: http-utils.h:25
Definition: xml_libxml2.c:15
Definition: http_curl.c:27
Definition: http-utils.h:18
Definition: http-utils.h:10