1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_key_new_frm_algorithm, ldns_key_new_frm_fp, ldns_key_new_frm_fp_l
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ldns_key* ldns_key_new_frm_algorithm(ldns_signing_algorithm a, uint16_t
21 size);
22
23 ldns_key* ldns_key_new_frm_fp(FILE *fp);
24
25 ldns_key* ldns_key_new_frm_fp_l(FILE *fp, int *line_nr);
26
28 ldns_key_new_frm_algorithm() creates a new key based on the algorithm
29
30 a: The algorithm to use
31 size: the number of bytes for the keysize
32 Returns a new ldns_key structure with the key
33
34 ldns_key_new_frm_fp() creates a new priv key based on the contents of
35 the file pointed by fp
36
37 fp: the file pointer to use
38 Returns a new ldns_key structure with the key
39
40 ldns_key_new_frm_fp_l() creates a new priv key based on the contents of
41 the file pointed by fp
42
43 fp: the file pointer to use
44 line_nr: pointer to an integer containing the current line num‐
45 ber (for debugging purposes)
46 Returns a new ldns_key structure with the key
47
49 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
50 Rozendaal and Miek Gieben.
51
52
54 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
55 http://www.nlnetlabs.nl/bugs/index.html
56
57 Be sure to select ldns as the product.
58
59
61 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
62 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
63 PARTICULAR PURPOSE.
64
66 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
67
69 This manpage was automaticly generated from the ldns source code by use
70 of Doxygen and some perl.
71
72
73
74 ldns(25 Apr 2005)