1gnutls_x509_policies_get(3)         gnutls         gnutls_x509_policies_get(3)
2
3
4

NAME

6       gnutls_x509_policies_get - API function
7

SYNOPSIS

9       #include <gnutls/x509-ext.h>
10
11       int  gnutls_x509_policies_get(gnutls_x509_policies_t policies, unsigned
12       int seq, struct gnutls_x509_policy_st * policy);
13

ARGUMENTS

15       gnutls_x509_policies_t policies
16                   The policies structure
17
18       unsigned int seq
19                   The index of the name to get
20
21       struct gnutls_x509_policy_st * policy
22                   Will hold the policy
23

DESCRIPTION

25       This function will return a specific policy as stored in the   policies
26       structure.  The returned values should be treated as constant and valid
27       for the lifetime of  policies .
28

RETURNS

30       On      success,      GNUTLS_E_SUCCESS      (0)      is       returned,
31       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE  if  the  index is out of bounds,
32       otherwise a negative error value.
33

SINCE

35       3.3.0
36

REPORTING BUGS

38       Report bugs to <bugs@gnutls.org>.
39       Home page: http://www.gnutls.org
40
41
43       Copyright © 2001-2014 Free Software Foundation, Inc..
44       Copying and distribution of this file, with  or  without  modification,
45       are  permitted  in  any  medium  without royalty provided the copyright
46       notice and this notice are preserved.
47

SEE ALSO

49       The full documentation for gnutls is maintained as  a  Texinfo  manual.
50       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
51       visit
52
53       http://www.gnutls.org/manual/
54
55gnutls                              3.3.29         gnutls_x509_policies_get(3)
Impressum