Sign data in a mechanism specific manner.
This call will return immediately and complete asynchronously.
| this |
The session. |
| key |
The key to sign with. |
| mechanism |
The mechanism type and parameters to use for signing. |
| input |
data to sign |
| cancellable |
A GCancellable which can be used to cancel the operation. |
| callback |
Called when the operation completes. |
| n_input |
length of the data to sign |
| user_data |
A pointer to pass to the callback. |