1dane_query_data(3)                  gnutls                  dane_query_data(3)
2
3
4

NAME

6       dane_query_data - API function
7

SYNOPSIS

9       #include <gnutls/dane.h>
10
11       int  dane_query_data(dane_query_t  q,  unsigned int idx, unsigned int *
12       usage, unsigned int * type, unsigned  int  *  match,  gnutls_datum_t  *
13       data);
14

ARGUMENTS

16       dane_query_t q
17                   The query result structure
18
19       unsigned int idx
20                   The index of the query response.
21
22       unsigned int * usage
23                   The certificate usage (see dane_cert_usage_t)
24
25       unsigned int * type
26                   The certificate type (see dane_cert_type_t)
27
28       unsigned int * match
29                   The DANE matching type (see dane_match_type_t)
30
31       gnutls_datum_t * data
32                   The DANE data.
33

DESCRIPTION

35       This function will provide the DANE data from the query response.
36

RETURNS

38       On  success, DANE_E_SUCCESS (0) is returned, otherwise a negative error
39       value.
40

REPORTING BUGS

42       Report bugs to <bugs@gnutls.org>.
43       Home page: https://www.gnutls.org
44
45
47       Copyright © 2001- Free Software Foundation, Inc., and others.
48       Copying and distribution of this file, with  or  without  modification,
49       are  permitted  in  any  medium  without royalty provided the copyright
50       notice and this notice are preserved.
51

SEE ALSO

53       The full documentation for gnutls is maintained as  a  Texinfo  manual.
54       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
55       visit
56
57       https://www.gnutls.org/manual/
58
59gnutls                              3.6.15                  dane_query_data(3)
Impressum