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

DNSSEC: add knot_dnssec_sign_key() function

refs #2413

Change-Id: I8c40b8bdf39bff7cf4e5d6ae41cb2612b634b932
parent 5518d00a
No related branches found
No related tags found
No related merge requests found
......@@ -732,6 +732,17 @@ size_t knot_dnssec_sign_size(knot_dnssec_key_t *key)
return key->data->functions->sign_size(key);
}
/*!
* \brief Get DNSSEC key used by given signing context.
*/
const knot_dnssec_key_t *knot_dnssec_sign_key(knot_dnssec_sign_context_t *context)
{
if (!context)
return NULL;
return context->key;
}
/*!
* \brief Add data into DNSSEC signature.
*/
......
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