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

NAME

6       ldns_key_list_key_count,      ldns_key_list_key,      ldns_key_rsa_key,
7       ldns_key_dsa_key,        ldns_key_algorithm,         ldns_key_hmac_key,
8       ldns_key_origttl,        ldns_key_inception,       ldns_key_expiration,
9       ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags
10
11

SYNOPSIS

13       #include <stdint.h>
14       #include <stdbool.h>
15
16       #include <ldns/ldns.h>
17
18       size_t ldns_key_list_key_count(const ldns_key_list *key_list);
19
20       ldns_key* ldns_key_list_key(const ldns_key_list *key, size_t nr);
21
22       RSA* ldns_key_rsa_key(const ldns_key *k);
23
24       DSA* ldns_key_dsa_key(const ldns_key *k);
25
26       ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k);
27
28       unsigned char* ldns_key_hmac_key(const ldns_key *k);
29
30       uint32_t ldns_key_origttl(const ldns_key *k);
31
32       uint32_t ldns_key_inception(const ldns_key *k);
33
34       uint32_t ldns_key_expiration(const ldns_key *k);
35
36       uint16_t ldns_key_keytag(const ldns_key *k);
37
38       ldns_rdf* ldns_key_pubkey_owner(const ldns_key *k);
39
40       uint16_t ldns_key_flags(const ldns_key *k);
41

DESCRIPTION

43       ldns_key_list_key_count() returns the number of keys in the key list
44              key_list: the key_list
45              Returns the numbers of keys in the list
46
47       ldns_key_list_key() returns a pointer to the key in  the  list  at  the
48              given position
49              key: the key
50              nr: the position in the list
51              Returns the key
52
53       ldns_key_rsa_key()  returns  the  (openssl) RSA struct contained in the
54              key
55              k: the key to look in
56              Returns the RSA * structure in the key
57
58       ldns_key_dsa_key() returns the (openssl) DSA struct  contained  in  the
59              key
60
61       ldns_key_algorithm() return the signing alg of the key
62              k: the key
63              Returns the algorithm
64
65       ldns_key_hmac_key() return the hmac key data
66              k: the key
67              Returns the hmac key data
68
69       ldns_key_origttl() return the original ttl of the key
70              k: the key
71              Returns the original ttl
72
73       ldns_key_inception() return the key's inception date
74              k: the key
75              Returns the inception date
76
77       ldns_key_expiration() return the key's expiration date
78              k: the key
79              Returns the experiration date
80
81       ldns_key_keytag() return the keytag
82              k: the key
83              Returns the keytag
84
85       ldns_key_pubkey_owner() return the public key's owner
86              k: the key
87              Returns the owner
88
89       ldns_key_flags() return the flag of the key
90              k: the key
91              Returns the flag
92

AUTHOR

94       The  ldns  team  at  NLnet Labs. Which consists out of Jelte Jansen and
95       Miek Gieben.
96
97

REPORTING BUGS

99       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  bugzilla  at
100       http://www.nlnetlabs.nl/bugs/index.html
101
102
104       Copyright (c) 2004 - 2006 NLnet Labs.
105
106       Licensed under the BSD License. There is NO warranty; not even for MER‐
107       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
108
109

SEE ALSO

111       ldns_key.  And perldoc Net::DNS,  RFC1034,  RFC1035,  RFC4033,  RFC4034
112       and RFC4035.
113

REMARKS

115       This manpage was automaticly generated from the ldns source code by use
116       of Doxygen and some perl.
117
118
119
120                                  30 May 2006                          ldns(3)
Impressum