1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_sign_public_dsa, ldns_sign_public_rsamd5, ldns_sign_public_rsasha1
7       - sign buffer
8
9

SYNOPSIS

11       #include <stdint.h>
12       #include <stdbool.h>
13
14       #include <ldns/ldns.h>
15
16       ldns_rdf* ldns_sign_public_dsa(ldns_buffer *to_sign, DSA *key);
17
18       ldns_rdf* ldns_sign_public_rsamd5(ldns_buffer *to_sign, RSA *key);
19
20       ldns_rdf* ldns_sign_public_rsasha1(ldns_buffer *to_sign, RSA *key);
21

DESCRIPTION

23       ldns_sign_public_dsa() Sign a buffer with the DSA key (hash with SHA1)
24
25              to_sign: The ldns_buffer containing raw data that is to be
26              signed
27              key: The DSA key structure to sign with
28              Returns a ldns_rdf for the RRSIG ldns_rr
29
30       ldns_sign_public_rsamd5() Sign a buffer with the RSA key (hash with
31              MD5)
32              to_sign: buffer with the data
33              key: the key to use
34              Returns a ldns_rdf with the signed data
35
36       ldns_sign_public_rsasha1() Sign a buffer with the RSA key (hash with
37              SHA1)
38              to_sign: buffer with the data
39              key: the key to use
40              Returns a ldns_rdf with the signed data
41

AUTHOR

43       The ldns team at NLnet Labs.
44
45

REPORTING BUGS

47       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
48       http://www.nlnetlabs.nl/bugs/index.html
49
50
52       Copyright (c) 2004 - 2006 NLnet Labs.
53
54       Licensed under the BSD License. There is NO warranty; not even for MER‐
55       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
56
57

SEE ALSO

59       ldns_sign_public.  And perldoc Net::DNS, RFC1034, RFC1035, RFC4033,
60       RFC4034  and RFC4035.
61

REMARKS

63       This manpage was automatically generated from the ldns source code.
64
65
66
67                                  30 May 2006                          ldns(3)
Impressum