49 #define TK_SIZE_BASE64 (44) bool contrac_set_tracing_key_base64(Contrac *data, char const *tracing_key)
Definition: contrac.c:378
Contrac * contrac_new()
Definition: contrac.c:112
The core structure for storing Contact Tracing state.
Definition: contrac.c:92
unsigned char const * contrac_get_daily_key(Contrac const *data)
Definition: contrac.c:422
bool contrac_update_current_time(Contrac *data)
Definition: contrac.c:513
uint32_t contrac_get_day_number(Contrac *data)
Definition: contrac.c:275
void contrac_get_tracing_key_base64(Contrac const *data, char *base64)
Definition: contrac.c:353
void contrac_get_daily_key_base64(Contrac const *data, char *base64)
Definition: contrac.c:441
bool contrac_set_day_number(Contrac *data, uint32_t day_number)
Definition: contrac.c:183
void contrac_get_proximity_id_base64(Contrac const *data, char *base64)
Definition: contrac.c:485
void contrac_set_tracing_key(Contrac *data, unsigned char const *tracing_key)
Definition: contrac.c:314
uint8_t contrac_get_time_interval_number(Contrac *data)
Definition: contrac.c:295
bool contrac_generate_tracing_key(Contrac *data)
Definition: contrac.c:148
void contrac_delete(Contrac *data)
Definition: contrac.c:127
bool contrac_get_initialised(Contrac const *data)
Definition: contrac.c:257
unsigned char const * contrac_get_tracing_key(Contrac const *data)
Definition: contrac.c:335
unsigned char const * contrac_get_proximity_id(Contrac const *data)
Definition: contrac.c:467
bool contrac_set_time_interval_number(Contrac *data, uint8_t time_interval_number)
Definition: contrac.c:221