Commit 5e5ab9d3 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by Daniel Salzman

libknot: rework KNOT_DNSKEY_FLAG_*

parent c2c726d3
......@@ -25,7 +25,13 @@
#include "libknot/rdata.h"
#include "libknot/wire.h"
#define KNOT_DNSKEY_FLAG_KSK 1
/*! See https://www.iana.org/assignments/dnskey-flags */
/*! /brief "Secure entry point" marks KSK and CSK in practice. */
#define KNOT_DNSKEY_FLAG_SEP 1
/*! /brief The key is ALLOWED to be used for zone contents signing. */
#define KNOT_DNSKEY_FLAG_ZONE 256
/*! /brief The key MUST NOT be used for validation. */
#define KNOT_DNSKEY_FLAG_REVOKE 128
static inline
uint16_t knot_dnskey_flags(const knot_rdata_t *rdata)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment