18 #ifndef _STIR_SHAKEN_CURL_H 19 #define _STIR_SHAKEN_CURL_H struct curl_cb_data * curl_cb_data_create(void)
Allocate memory for a curl_cb_data struct.
void curl_cb_data_free(struct curl_cb_data *data)
Free a curl_cb_data struct.
char * curl_cb_data_get_cache_control(const struct curl_cb_data *data)
Get the cache_control field from a curl_cb_data struct.
char * curl_cb_data_get_expires(const struct curl_cb_data *data)
Get the expires field from a curl_cb_data struct.
char * curl_public_key(const char *public_cert_url, const char *path, struct curl_cb_data *data)
CURL the public key from the provided URL to the specified path.