Electroneum
Loading...
Searching...
No Matches
cert.h
Go to the documentation of this file.
1#ifndef UNBOUND_DNSCRYPT_CERT_H
2#define UNBOUND_DNSCRYPT_CERT_H
3
8
9#include <sodium.h>
10#define CERT_MAGIC_CERT "DNSC"
11#define CERT_MAJOR_VERSION 1
12#define CERT_MINOR_VERSION 0
13#define CERT_OLD_MAGIC_HEADER "7PYqwfzt"
14
15#define CERT_FILE_EXPIRE_DAYS 365
16
30
31
32#endif
unsigned char uint8_t
Definition stdint.h:124
uint8_t version_major[2]
Definition cert.h:19
uint8_t server_publickey[crypto_box_PUBLICKEYBYTES]
Definition cert.h:24
uint8_t magic_query[8]
Definition cert.h:25
uint8_t ts_end[4]
Definition cert.h:28
uint8_t serial[4]
Definition cert.h:26
uint8_t signed_content[64]
Definition cert.h:23
uint8_t version_minor[2]
Definition cert.h:20
uint8_t ts_begin[4]
Definition cert.h:27
uint8_t magic_cert[4]
Definition cert.h:18