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 structures.
@var{flags}: should be zero
This function will extract the certificate policy extension (2.5.29.32)
and store it the provided structure.
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a negative error value.
@strong{Since:} 3.3.0
@end deftypefun
|