[API 0.396] validate_dnssec signature change

The record to validate is a list containing the rr-dict of the rr to validate, plus rr-dicts for the rrsigs.
This commit is contained in:
Willem Toorop 2014-02-18 14:53:42 +01:00
parent 0b520c0f80
commit 2f16433532
6 changed files with 11 additions and 11 deletions

View File

@ -230,7 +230,7 @@ retcharstar = getdns_convert_alabel_to_ulabel(
); );
retregular = getdns_validate_dnssec( retregular = getdns_validate_dnssec(
bindataarg, listarg,
listarg, listarg,
listarg listarg
); );

Binary file not shown.

BIN
spec/getdns-0.396.tgz Normal file

Binary file not shown.

View File

@ -297,7 +297,7 @@ getdns_convert_alabel_to_ulabel(
getdns_return_t getdns_return_t
getdns_validate_dnssec( getdns_validate_dnssec(
struct getdns_bindata *record_to_validate, struct getdns_list *record_to_validate,
struct getdns_list *bundle_of_support_records, struct getdns_list *bundle_of_support_records,
struct getdns_list *trust_anchor_rdatas struct getdns_list *trust_anchor_rdatas
) )

View File

@ -1,4 +1,4 @@
/* Created at 2014-02-18-14-12-28*/ /* Created at 2014-02-18-14-20-52*/
#ifndef GETDNS_H #ifndef GETDNS_H
#define GETDNS_H #define GETDNS_H
@ -524,7 +524,7 @@ getdns_convert_alabel_to_ulabel(
getdns_return_t getdns_return_t
getdns_validate_dnssec( getdns_validate_dnssec(
struct getdns_bindata *record_to_validate, struct getdns_list *record_to_validate,
struct getdns_list *bundle_of_support_records, struct getdns_list *bundle_of_support_records,
struct getdns_list *trust_anchor_rdatas struct getdns_list *trust_anchor_rdatas
); );

View File

@ -2032,16 +2032,16 @@ getdns_convert_alabel_to_ulabel(
can use the <code>getdns_validate_dnssec()</code> helper function.</p> can use the <code>getdns_validate_dnssec()</code> helper function.</p>
<div class=forh>getdns_return_t <div class=forh>getdns_return_t
getdns_validate_dnssec( getdns_validate_dnssec(
struct getdns_bindata *record_to_validate, struct getdns_list *record_to_validate,
struct getdns_list *bundle_of_support_records, struct getdns_list *bundle_of_support_records,
struct getdns_list *trust_anchor_rdatas struct getdns_list *trust_anchor_rdatas
); );
</div> </div>
<p class=cont>The <code>record_to_validate</code> is the resource record being validated. The API <p class=cont>
will use the resource records in <code>bundle_of_support_records</code> and the RDATAs in the The <code>record_to_validate</code> is the resource record being validated together with the associated signatures.
<code>trust_ancor_rdatas</code> as trust anchors. The function returns one of The API will use the resource records in <code>bundle_of_support_records</code> to construct the validation chain and the DNSKEY or DS records in <code>trust_anchor_records</code> as trust anchors.
<code>GETDNS_DNSSEC_SECURE</code>, <code>GETDNS_DNSSEC_BOGUS</code>, The function returns one of <code>GETDNS_DNSSEC_SECURE</code>, <code>GETDNS_DNSSEC_BOGUS</code>, <code>GETDNS_DNSSEC_INDETERMINATE</code>, or <code>GETDNS_DNSSEC_INSECURE</code>.
<code>GETDNS_DNSSEC_INDETERMINATE</code>, or <code>GETDNS_DNSSEC_INSECURE</code>.</p> </p>
<p>There are two functions that help process data:</p> <p>There are two functions that help process data:</p>
@ -2428,7 +2428,7 @@ The response dicts inherit the custom memory management functions and the value
<h1>9. The Generated Files</h1> <h1>9. The Generated Files</h1>
<p>There is <a href="getdns-0.395.tgz">a tarball</a> that includes the .h files, <p>There is <a href="getdns-0.396.tgz">a tarball</a> that includes the .h files,
the examples, and so on. The examples all make, even though there is no API implementation, based the examples, and so on. The examples all make, even though there is no API implementation, based
on a pseudo-implementation in the tarball; see make-examples-PLATFORM.sh. Note that this currently builds fine on a pseudo-implementation in the tarball; see make-examples-PLATFORM.sh. Note that this currently builds fine
on the Macintosh and Ubuntu; help is definitely appreciated on making the build process on the Macintosh and Ubuntu; help is definitely appreciated on making the build process