1dane_verify_crt_raw(3)              gnutls              dane_verify_crt_raw(3)
2
3
4

NAME

6       dane_verify_crt_raw - API function
7

SYNOPSIS

9       #include <gnutls/dane.h>
10
11       int  dane_verify_crt_raw(dane_state_t  s, const gnutls_datum_t * chain,
12       unsigned chain_size, gnutls_certificate_type_t chain_type, dane_query_t
13       r, unsigned int sflags, unsigned int vflags, unsigned int * verify);
14

ARGUMENTS

16       dane_state_t s
17                   A DANE state structure (may be NULL)
18
19       const gnutls_datum_t * chain
20                   A certificate chain
21
22       unsigned chain_size
23                   The size of the chain
24
25       gnutls_certificate_type_t chain_type
26                   The type of the certificate chain
27
28       dane_query_t r
29                   DANE data to check against
30
31       unsigned int sflags
32                   Flags for the initialization of  s (if NULL)
33
34       unsigned int vflags
35                   Verification flags; an OR'ed list of dane_verify_flags_t.
36
37       unsigned int * verify
38                   An OR'ed list of dane_verify_status_t.
39

DESCRIPTION

41       This is the low-level function of dane_verify_crt(). See the high level
42       function for documentation.
43
44       This function does  not  perform  any  resolving,  it  utilizes  cached
45       entries from  r .
46

RETURNS

48       a  negative  error  code  on error and DANE_E_SUCCESS (0) when the DANE
49       entries were successfully parsed, irrespective  of  whether  they  were
50       verified  (see  verify for that information). If no usable entries were
51       encountered DANE_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
52

REPORTING BUGS

54       Report bugs to <bugs@gnutls.org>.
55       Home page: https://www.gnutls.org
56
57
59       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
60       Copying and distribution of this file, with  or  without  modification,
61       are  permitted  in  any  medium  without royalty provided the copyright
62       notice and this notice are preserved.
63

SEE ALSO

65       The full documentation for gnutls is maintained as  a  Texinfo  manual.
66       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
67       visit
68
69       https://www.gnutls.org/manual/
70
71gnutls                              3.6.11              dane_verify_crt_raw(3)
Impressum