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

NAME

6       ldns_key_buf2dsa, ldns_key_buf2rsa - convert buffer to openssl key
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       DSA* ldns_key_buf2dsa(const ldns_buffer *key);
16
17       RSA* ldns_key_buf2rsa(const ldns_buffer *key);
18

DESCRIPTION

20       ldns_key_buf2dsa() converts a buffer holding key material to a DSA key
21              in openssl.
22
23              key: the key to convert
24              Returns a DSA * structure with the key material
25
26       ldns_key_buf2rsa() converts a buffer holding key material to a RSA key
27              in openssl.
28
29              key: the key to convert
30              Returns a RSA * structure with the key material
31

AUTHOR

33       The ldns team at NLnet Labs.
34
35

REPORTING BUGS

37       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
38       http://www.nlnetlabs.nl/bugs/index.html
39
40
42       Copyright (c) 2004 - 2006 NLnet Labs.
43
44       Licensed under the BSD License. There is NO warranty; not even for MER‐
45       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46
47

SEE ALSO

49       ldns_key_rr2ds.  And perldoc Net::DNS, RFC1034, RFC1035, RFC4033,
50       RFC4034  and RFC4035.
51

REMARKS

53       This manpage was automatically generated from the ldns source code.
54
55
56
57                                  30 May 2006                          ldns(3)
Impressum