gnutls_privkey_import_url(abs_key, key_url);
gnutls_x509_crt_init(&ca_cert);
- gnutls_x509_crt_import_pkcs11_url(&ca_cert, cert_url);
+ gnutls_x509_crt_import_url(&ca_cert, cert_url);
/* sign the certificate to be signed */
gnutls_x509_crt_privkey_sign(to_be_signed, ca_cert, abs_key,
@showfuncdesc{gnutls_pkcs11_obj_get_info}
-@showfuncC{gnutls_x509_crt_import_pkcs11,gnutls_x509_crt_import_pkcs11_url,gnutls_x509_crt_list_import_pkcs11}
+@showfuncC{gnutls_x509_crt_import_pkcs11,gnutls_x509_crt_import_url,gnutls_x509_crt_list_import_pkcs11}
Properties of the physical token can also be accessed and altered with @acronym{GnuTLS}.
For example data in a token can be erased (initialized), PIN can be altered, etc.
* the global function set using gnutls_pkcs11_set_pin_function().
*
* Note that this callback is currently used only during the import
- * of a PKCS #11 certificate with gnutls_x509_crt_import_pkcs11_url().
+ * of a PKCS #11 certificate with gnutls_x509_crt_import_url().
*
* Since: 3.1.0
*
* fail if the certificate stored is not of X.509 type.
*
* Despite its name this function will attempt to import any kind of
- * URL to certificate. It is synonymous to gnutls_x509_crt_import_pkcs11_url().
+ * URL to certificate. In previous versions of gnutls this function
+ * was named gnutls_x509_crt_import_pkcs11_url, and the old name is
+ * an alias to this one.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.