@deftypefun {int} {gnutls_privkey_import_pkcs11_url} (gnutls_privkey_t @var{key}, const char * @var{url}) @var{key}: A key of type @code{gnutls_pubkey_t} @var{url}: A PKCS 11 url This function will import a PKCS 11 private key to a @code{gnutls_private_key_t} type. @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a negative error value. @strong{Since:} 3.1.0 @end deftypefun