11 #define CERT_MAGIC_CERT "DNSC"
13 typedef struct Bincert_
{
14 uint8_t magic_cert
[4];
15 uint8_t version_major
[2];
16 uint8_t version_minor
[2];
18 uint8_t server_publickey
[crypto_box_PUBLICKEYBYTES
];
19 uint8_t magic_query
[8];
26 typedef struct SignedBincert_
{
27 uint8_t magic_cert
[4];
28 uint8_t version_major
[2];
29 uint8_t version_minor
[2];
31 uint8_t signed_data
[];