.ad l .TH ldns 3 "30 May 2006" .SH NAME ldns_calc_keytag, ldns_calc_keytag_raw \- calculate ldns keytag .SH SYNOPSIS #include .br #include .br .PP #include .PP uint16_t ldns_calc_keytag(const ldns_rr *key); .PP uint16_t ldns_calc_keytag_raw(const uint8_t* key, size_t keysize); .PP .SH DESCRIPTION .HP \fIldns_calc_keytag\fR() calculates a keytag of a key for use in \%DNSSEC. \.br \fBkey\fR: the key as an \%RR to use for the calc. \.br Returns the keytag .PP .HP \fIldns_calc_keytag_raw\fR() Calculates keytag of \%DNSSEC key, operates on wireformat rdata. \.br \fBkey\fR: the key as uncompressed wireformat rdata. \.br \fBkeysize\fR: length of key data. \.br Returns the keytag .PP .SH AUTHOR The ldns team at NLnet Labs. .SH REPORTING BUGS Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html .SH COPYRIGHT Copyright (c) 2004 - 2006 NLnet Labs. .PP Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .SH SEE ALSO \fIldns_key\fR. And \fBperldoc Net::DNS\fR, \fBRFC1034\fR, \fBRFC1035\fR, \fBRFC4033\fR, \fBRFC4034\fR and \fBRFC4035\fR. .SH REMARKS This manpage was automatically generated from the ldns source code.