Sign data in a mechanism specific manner.
This call may block for an indefinite period.
| this |
The session. |
| key |
The key to sign with. |
| mechanism |
The mechanism type and parameters to use for signing. |
| input |
data to sign |
| n_result |
location to store the length of the result data |
| cancellable |
A GCancellable which can be used to cancel the operation. |
| n_input |
length of the data to sign |
|
The data that was signed, or null if an error occured. |