Skip to content
Snippets Groups Projects
Commit acb8f4f0 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

DNSSEC: comments about canonical form of signed RR sets

refs #4
parent c878f149
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,8 @@ static uint8_t *create_rrsigs_rdata(knot_rrset_t *rrsigs,
/*!
* \brief Add RRSIG RDATA without signature to signing context.
*
* Requires signer name in RDATA in canonical form.
*
* \param ctx Signing context.
* \param rdata Pointer to RRSIG RDATA.
*
......@@ -170,6 +172,8 @@ static int sign_ctx_add_self(knot_dnssec_sign_context_t *ctx,
/*!
* \brief Add covered RRs to signing context.
*
* Requires all DNAMEs in canonical form and all RRs ordered canonically.
*
* \param ctx Signing context.
* \param covered Covered RRs.
*
......@@ -213,6 +217,8 @@ static int sign_ctx_add_records(knot_dnssec_sign_context_t *ctx,
* RFC 4034: The signature covers RRSIG RDATA field (excluding the signature)
* and all matching RR records, which are ordered canonically.
*
* Requires all DNAMEs in canonical form and all RRs ordered canonically.
*
* \param ctx Signing context.
* \param rrsig_rdata RRSIG RDATA with populated fields except signature.
* \param covered Covered RRs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment