1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_algorithm - numbers assigned to algorithms used in dns
7
8
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <ldns/ldns.h>
14
16 ldns_algorithm
17 Algorithms used in dns
18 enum ldns_enum_algorithm
19 {
20 LDNS_RSAMD5 = 1, /* RFC 4034,4035 */
21 LDNS_DH = 2,
22 LDNS_DSA = 3,
23 LDNS_ECC = 4,
24 LDNS_RSASHA1 = 5,
25 LDNS_DSA_NSEC3 = 6,
26 LDNS_RSASHA1_NSEC3 = 7,
27 LDNS_RSASHA256 = 8, /* RFC 5702 */
28 LDNS_RSASHA512 = 10, /* RFC 5702 */
29 LDNS_ECC_GOST = 12, /* RFC 5933 */
30 LDNS_ECDSAP256SHA256 = 13, /* RFC 6605 */
31 LDNS_ECDSAP384SHA384 = 14, /* RFC 6605 */
32 #ifdef USE_ED25519
33 /* this ifdef is internal to ldns, because we do not want
34 to export
35 * the symbol. Users can define it if they want access,
36 * the feature is not fully implemented at this time and
37 openssl
38 * does not support it fully either (also for ED448). */
39 LDNS_ED25519 = 15, /* draft-ietf-curdle-dnskey-
40 ed25519 */
41 #endif
42 #ifdef USE_ED448
43 LDNS_ED448 = 16, /* draft-ietf-curdle-dnskey-
44 ed448 */
45 #endif
46 LDNS_INDIRECT = 252,
47 LDNS_PRIVATEDNS = 253,
48 LDNS_PRIVATEOID = 254
49 };
50 typedef enum ldns_enum_algorithm ldns_algorithm;
51
53 The ldns team at NLnet Labs.
54
55
57 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
58 http://www.nlnetlabs.nl/bugs/index.html
59
60
62 Copyright (c) 2004 - 2006 NLnet Labs.
63
64 Licensed under the BSD License. There is NO warranty; not even for MER‐
65 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
66
68 perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
69
71 This manpage was automatically generated from the ldns source code.
72
73
74
75 30 May 2006 ldns(3)