1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_key_buf2dsa, ldns_key_buf2rsa - convert buffer to openssl key
7
8
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
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
33 The ldns team at NLnet Labs.
34
35
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
49 ldns_key_rr2ds. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033,
50 RFC4034 and RFC4035.
51
53 This manpage was automatically generated from the ldns source code.
54
55
56
57 30 May 2006 ldns(3)