/**
* Returns the first RRSIG rr that corresponds to the rrset
* with the given name and type
- * TODO: may be more, use all sigs...
+ *
* \param[in] name The dname of the RRset covered by the RRSIG to find
* \param[in] type The type of the RRset covered by the RRSIG to find
+ * \param[in] rrs List of rrs to search in
* \returns Pointer to the first RRsig ldns_rr found, or NULL if it is
* not present
*/
* \param[in] to_sign The ldns_buffer containing raw data that is
* to be signed
* \param[in] key The EVP_PKEY key structure to sign with
+ * \param[in] digest_type The digest algorithm to use in the creation of
+ * the signature
* \return ldns_rdf for the RRSIG ldns_rr
*/
ldns_rdf *ldns_sign_public_evp(ldns_buffer *to_sign,
* Adds NSEC records to the given dnssec_zone
*
* \param[in] zone the zone to add the records to
- * \param[in] new ldns_rr's created by this function are
+ * \param[in] new_rrs ldns_rr's created by this function are
* added to this rr list, so the caller can free them later
* \return LDNS_STATUS_OK on success, an error code otherwise
*/
* callback
* \param[in] key_list these are marked to be used or not,
* on the return value of the callback
+ * \param[in] func this function is called to specify what to
+ * do with each signature (and corresponding key)
+ * \param[in] arg Optional argument for the callback function
* \returns pointer to the new signatures rrs (the original
* passed to this function may have been removed)
*/
* Adds signatures to the zone
*
* \param[in] zone the zone to add RRSIG Resource Records to
- * \param[in] new_rss The RRSIG RRs that are created are also
+ * \param[in] new_rrs the RRSIG RRs that are created are also
* added to this list, so the caller can free them
* later
* \param[in] key_list list of keys to sign with.
/**
* returns the depth of the trust tree
*
- * \param[in] The tree to calculate the depth of
+ * \param[in] tree tree to calculate the depth of
* \return The depth of the tree
*/
size_t ldns_dnssec_trust_tree_depth(ldns_dnssec_trust_tree *tree);