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              to_sign: buffer with the data
25              key: the key to use
26              Returns a ldns_rdf with the signed data
27
28       ldns_sign_public_rsamd5() Sign a buffer with the RSA key (hash with
29              MD5)
30              to_sign: buffer with the data
31              key: the key to use
32              Returns a ldns_rdf with the signed data
33
34       ldns_sign_public_rsasha1() Sign a buffer with the RSA key (hash with
35              SHA1)
36              to_sign: buffer with the data
37              key: the key to use
38              Returns a ldns_rdf with the signed data
39

AUTHOR

41       The ldns team at NLnet Labs.
42
43

REPORTING BUGS

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

SEE ALSO

57       ldns_sign_public.  And perldoc Net::DNS, RFC1034, RFC1035, RFC4033,
58       RFC4034  and RFC4035.
59

REMARKS

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