.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_pkcs11_obj_list_import_url3" 3 "3.8.3" "gnutls" "gnutls" .SH NAME gnutls_pkcs11_obj_list_import_url3 \- API function .SH SYNOPSIS .B #include .sp .BI "int gnutls_pkcs11_obj_list_import_url3(gnutls_pkcs11_obj_t * " p_list ", unsigned int * " n_list ", const char * " url ", unsigned int " flags ");" .SH ARGUMENTS .IP "gnutls_pkcs11_obj_t * p_list" 12 An uninitialized object list (may be \fBNULL\fP) .IP "unsigned int * n_list" 12 Initially should hold the maximum size of the list. Will contain the actual size. .IP "const char * url" 12 A PKCS 11 url identifying a set of objects .IP "unsigned int flags" 12 Or sequence of GNUTLS_PKCS11_OBJ_* flags .SH "DESCRIPTION" This function will initialize and set values to an object list by using all objects identified by a PKCS 11 URL. This function will enumerate all the objects specified by the PKCS\fB11\fP URL provided. It expects an already allocated \fIp_list\fP which has * \fIn_list\fP elements, and that value will be updated to the actual number of present objects. The \fIp_list\fP objects will be initialized and set by this function. To obtain a list of all available objects use a \fIurl\fP of 'pkcs11:'. All returned objects must be deinitialized using \fBgnutls_pkcs11_obj_deinit()\fP. The supported in this function \fIflags\fP are \fBGNUTLS_PKCS11_OBJ_FLAG_LOGIN\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_LOGIN_SO\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_PRESENT_IN_TRUSTED_MODULE\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_CRT\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_PUBKEY\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_PRIVKEY\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_WITH_PRIVKEY\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_MARK_CA\fP, \fBGNUTLS_PKCS11_OBJ_FLAG_MARK_TRUSTED\fP, and since 3.5.1 the \fBGNUTLS_PKCS11_OBJ_FLAG_OVERWRITE_TRUSTMOD_EXT\fP. On versions of GnuTLS prior to 3.4.0 the equivalent function was \fBgnutls_pkcs11_obj_list_import_url()\fP. That is also available on this version as a macro which maps to this function. .SH "RETURNS" On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a negative error value. .SH "SINCE" 3.4.0 .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