.ad l
.TH ldns 3 "30 May 2006"
.SH NAME
ldns_key_rr2ds \- create DS rr from DNSKEY rr

.SH SYNOPSIS
#include <stdint.h>
.br
#include <stdbool.h>
.br
.PP
#include <ldns/ldns.h>
.PP
ldns_rr* ldns_key_rr2ds(const ldns_rr *key, ldns_hash h);
.PP

.SH DESCRIPTION
.HP
\fIldns_key_rr2ds\fR()
returns a new \%DS rr that represents the given key rr.

\.br
\fB*key\fR: the key to convert
\.br
\fBh\fR: the hash to use LDNS_SHA1/LDNS_SHA256

\.br
Returns ldns_rr* a new rr pointer to a \%DS
.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.
