![]() |
wget2
1.0.0
|
HTTP Public Key Pinning (RFC 7469) routines. More...
#include <config.h>
#include <wget.h>
#include <string.h>
#include <stddef.h>
#include <ctype.h>
#include <sys/stat.h>
#include <limits.h>
#include "private.h"
Typedefs | |
typedef struct _wget_hpkp_pin_st | wget_hpkp_pin_t |
Functions | |
void | wget_hpkp_pin_add (wget_hpkp_t *hpkp, const char *pin_type, const char *pin_b64) |
void | wget_hpkp_free (wget_hpkp_t *hpkp) |
wget_hpkp_t * | wget_hpkp_new (void) |
void | wget_hpkp_set_host (wget_hpkp_t *hpkp, const char *host) |
void | wget_hpkp_set_maxage (wget_hpkp_t *hpkp, long maxage) |
void | wget_hpkp_set_include_subdomains (wget_hpkp_t *hpkp, int include_subdomains) |
wget_hpkp_db_t * | wget_hpkp_db_init (wget_hpkp_db_t *hpkp_db) |
void | wget_hpkp_db_deinit (wget_hpkp_db_t *hpkp_db) |
void | wget_hpkp_db_free (wget_hpkp_db_t **hpkp_db) |
int | wget_hpkp_db_check_pubkey (wget_hpkp_db_t *hpkp_db, const char *host, const void *pubkey, size_t pubkeysize) |
void | wget_hpkp_db_add (wget_hpkp_db_t *hpkp_db, wget_hpkp_t **_hpkp) |
int | wget_hpkp_db_load (wget_hpkp_db_t *hpkp_db, const char *fname) |
int | wget_hpkp_db_save (wget_hpkp_db_t *hpkp_db, const char *fname) |
HTTP Public Key Pinning (RFC 7469) routines.