Searched refs:pin_b64 (Results 1 – 4 of 4) sorted by relevance
/dports/www/wget2/wget2-2.0.0/libwget/ |
H A D | hpkp.c | 70 xfree(p->pin_b64); in hpkp_pin_free() 82 void wget_hpkp_pin_add(wget_hpkp *hpkp, const char *pin_type, const char *pin_b64) in wget_hpkp_pin_add() argument 85 size_t len_b64 = strlen(pin_b64); in wget_hpkp_pin_add() 88 pin->pin_b64 = wget_strdup(pin_b64); in wget_hpkp_pin_add() 89 pin->pin = (unsigned char *)wget_base64_decode_alloc(pin_b64, len_b64, &pin->pinsize); in wget_hpkp_pin_add() 209 pins_b64[i] = pin->pin_b64; in wget_hpkp_get_pins_b64()
|
H A D | hpkp_db.c | 255 char hash_type[32], host[256], pin_b64[256]; in hpkp_db_load() local 309 if (sscanf(linep, "*%31s %255s", hash_type, pin_b64) == 2) { in hpkp_db_load() 310 wget_hpkp_pin_add(hpkp, hash_type, pin_b64); in hpkp_db_load() 365 wget_fprintf(fp, "*%s %s\n", pin->hash_type, pin->pin_b64); in hpkp_save_pin()
|
H A D | hpkp.h | 45 pin_b64; /* base64 encoded <pin> */ member
|
/dports/www/wget2/wget2-2.0.0/include/wget/ |
H A D | wget.h | 1518 wget_hpkp_pin_add(wget_hpkp *hpkp, const char *pin_type, const char *pin_b64);
|