1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm,
7 ldns_key_hmac_key
8
9
11 #include <stdint.h>
12 #include <stdbool.h>
13
14 #include <ldns/ldns.h>
15
16 RSA* ldns_key_rsa_key(const ldns_key *k);
17
18 DSA* ldns_key_dsa_key(const ldns_key *k);
19
20 ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k);
21
22 unsigned char* ldns_key_hmac_key(const ldns_key *k);
23
25 ldns_key_rsa_key() returns the (openssl) RSA struct contained in the
26 key
27 k: the key to look in
28 Returns the RSA * structure in the key
29
30 ldns_key_dsa_key() returns the (openssl) DSA struct contained in the
31 key
32
33 ldns_key_algorithm() return the signing alg of the key
34 k: the key
35 Returns the algorithm
36
37 ldns_key_hmac_key() return the hmac key data
38 k: the key
39 Returns the hmac key data
40
42 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
43 Miek Gieben.
44
45
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
59 ldns_key_list, ldns_key. And perldoc Net::DNS, RFC1034, RFC1035,
60 RFC4033, RFC4034 and RFC4035.
61
63 This manpage was automaticly generated from the ldns source code by use
64 of Doxygen and some perl.
65
66
67
68 30 May 2006 ldns(3)