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