summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_ext_import_policies
blob: cbf988ea72f9de389a5405e05b7b6aeb7fe04259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@deftypefun {int} {gnutls_x509_ext_import_policies} (const gnutls_datum_t * @var{ext}, gnutls_x509_policies_t @var{policies}, unsigned int @var{flags})
@var{ext}: the DER encoded extension data

@var{policies}: A pointer to an initialized policies.

@var{flags}: should be zero

This function will extract the certificate policy extension (2.5.29.32) 
and store it the provided policies.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a negative error value.

@strong{Since:} 3.3.0
@end deftypefun