ldns_verify_rrsig

Langue: en

Version: 160010 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ldns_verify, ldns_verify_rrsig, ldns_verify_rrsig_keylist

SYNOPSIS

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

ldns_status ldns_verify(ldns_rr_list *rrset, ldns_rr_list *rrsig, const ldns_rr_list *keys, ldns_rr_list *good_keys);

ldns_status ldns_verify_rrsig(ldns_rr_list *rrset, ldns_rr *rrsig, ldns_rr *key);

ldns_status ldns_verify_rrsig_keylist(ldns_rr_list *rrset, ldns_rr *rrsig, const ldns_rr_list *keys, ldns_rr_list *good_keys);

DESCRIPTION

ldns_verify()
Verifies a list of signatures for one rrset.

.br rrset: the rrset to verify .br rrsig: a list of signatures to check .br keys: a list of keys to check with .br good_keys: if this is a (initialized) list, the keys
                       from keys that validate one of the signatures
                       are added to it .br Returns status LDNS_STATUS_OK if there is at least one correct key

ldns_verify_rrsig()
verify an rrsig with 1 key .br rrset: the rrset .br rrsig: the rrsig to verify .br key: the key to use .br Returns status message wether verification succeeded.
ldns_verify_rrsig_keylist()
Verifies an rrsig. All keys in the keyset are tried. .br rrset: the rrset to check .br rrsig: the signature of the rrset .br keys: the keys to try .br good_keys: if this is a (initialized) list, the keys
                       from keys that validate one of the signatures
                       are added to it .br Returns a list of keys which validate the rrsig + rrset. Returns NULL
        when none of the keys validate.

AUTHOR

The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.

REPORTING BUGS

Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

ldns_verify_rrsig_evp. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

REMARKS

This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.