int gnutls_x509_crt_set_crl_dist_points2(gnutls_x509_crt_t crt, gnutls_x509_subject_alt_name_t type, const void * data, unsigned int data_size, unsigned int reason_flags);
- gnutls_x509_crt_t crt
- a certificate of type gnutls_x509_crt_t
- gnutls_x509_subject_alt_name_t type
- is one of the gnutls_x509_subject_alt_name_t enumerations
- const void * data
- The data to be set
- unsigned int data_size
- The data size
- unsigned int reason_flags
- revocation reasons
DESCRIPTIONThis function will set the CRL distribution points certificate extension.
RETURNSOn success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
COPYRIGHTCopyright © 2001-2016 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.