}
}
-/*-
+/**
* gnutls_sign_callback_set:
* @session: is a gnutls session
* @sign_func: function pointer to application's sign callback.
* callback function. See also gnutls_sign_callback_get().
*
* Deprecated: Use the PKCS 11 or #gnutls_privkey_t interfacess like gnutls_privkey_import_ext() instead.
- -*/
+ **/
void
gnutls_sign_callback_set (gnutls_session_t session,
gnutls_sign_func sign_func, void *userdata)
session->internals.sign_func_userdata = userdata;
}
-/*-
+/**
* gnutls_sign_callback_get:
* @session: is a gnutls session
* @userdata: if non-%NULL, will be set to abstract callback pointer.
* if not set, %NULL.
*
* Deprecated: Use the PKCS 11 interfaces instead.
- -*/
+ **/
gnutls_sign_func
gnutls_sign_callback_get (gnutls_session_t session, void **userdata)
{
/**
* gnutls_pkcs11_privkey_set_pin_function:
- * @obj: The object structure
+ * @key: The private key
* @fn: the callback
* @userdata: data associated with the callback
*
* @format: The format of the private key
* @srk_password: The password for the SRK key (optional)
* @key_password: A password for the key (optional)
+ * @flags: should be zero
*
* This function will import the given private key to the abstract
* #gnutls_privkey_t structure.