.ad l
.TH ldns 3 "30 May 2006"
.SH NAME
ldns_key2rr \- convert ldns_key to rr

.SH SYNOPSIS
#include <stdint.h>
.br
#include <stdbool.h>
.br
.PP
#include <ldns/ldns.h>
.PP
ldns_rr* ldns_key2rr(const ldns_key *k);
.PP

.SH DESCRIPTION
.HP
\fIldns_key2rr\fR()
converts a ldns_key to a public key rr
If the key data exists at an external point, the corresponding
rdata field must still be added with ldns_rr_rdf_push() to the
result rr of this function

\.br
\fBk\fR: the ldns_key to convert
\.br
Returns ldns_rr representation of the key
.PP
.SH AUTHOR
The ldns team at NLnet Labs.

.SH REPORTING BUGS
Please report bugs to dns-team@nlnetlabs.nl or on
GitHub at https://github.com/NLnetLabs/ldns/issues

.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.
