1dane_raw_tlsa(3) gnutls dane_raw_tlsa(3)
2
3
4
6 dane_raw_tlsa - API function
7
9 #include <gnutls/dane.h>
10
11 int dane_raw_tlsa(dane_state_t s, dane_query_t * r, char *const *
12 dane_data, const int * dane_data_len, int secure, int bogus);
13
15 dane_state_t s
16 The DANE state structure
17
18 dane_query_t * r
19 A structure to place the result
20
21 char *const * dane_data
22 array of DNS rdata items, terminated with a NULL pointer;
23 caller must guarantee that the referenced data remains
24 valid until dane_query_deinit() is called.
25
26 const int * dane_data_len
27 the length n bytes of the dane_data items
28
29 int secure true if the result is validated securely, false if valida‐
30 tion failed or the domain queried has no security info
31
32 int bogus if the result was not secure (secure = 0) due to a security
33 failure, and the result is due to a security failure, bogus
34 is true.
35
37 This function will fill in the TLSA (DANE) structure from the given raw
38 DNS record data. The dane_data must be valid during the lifetime of
39 the query.
40
42 On success, DANE_E_SUCCESS (0) is returned, otherwise a negative error
43 value.
44
46 Report bugs to <bugs@gnutls.org>.
47 Home page: https://www.gnutls.org
48
49
51 Copyright © 2001- Free Software Foundation, Inc., and others.
52 Copying and distribution of this file, with or without modification,
53 are permitted in any medium without royalty provided the copyright no‐
54 tice and this notice are preserved.
55
57 The full documentation for gnutls is maintained as a Texinfo manual.
58 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
59 visit
60
61 https://www.gnutls.org/manual/
62
63gnutls 3.7.8 dane_raw_tlsa(3)