.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_pkcs7_get_crl_raw" 3 "3.8.3" "gnutls" "gnutls" .SH NAME gnutls_pkcs7_get_crl_raw \- API function .SH SYNOPSIS .B #include .sp .BI "int gnutls_pkcs7_get_crl_raw(gnutls_pkcs7_t " pkcs7 ", unsigned " indx ", void * " crl ", size_t * " crl_size ");" .SH ARGUMENTS .IP "gnutls_pkcs7_t pkcs7" 12 The pkcs7 type .IP "unsigned indx" 12 contains the index of the crl to extract .IP "void * crl" 12 the contents of the crl will be copied there (may be null) .IP "size_t * crl_size" 12 should hold the size of the crl .SH "DESCRIPTION" This function will return a crl of the PKCS7 or RFC2630 crl set. .SH "RETURNS" On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a negative error value. If the provided buffer is not long enough, then \fIcrl_size\fP is updated and \fBGNUTLS_E_SHORT_MEMORY_BUFFER\fP is returned. After the last crl has been read \fBGNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE\fP will be returned. .SH "REPORTING BUGS" Report bugs to . .br Home page: https://www.gnutls.org .SH COPYRIGHT Copyright \(co 2001-2023 Free Software Foundation, Inc., and others. .br 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. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit .B .IP https://www.gnutls.org/manual/ .PP