sign_async
Description:
public async uint8[] sign_async (Object key, Mechanism mechanism, uint8[] input, Cancellable? cancellable) throws Error
Sign data in a mechanism specific manner.
This call will return immediately and complete asynchronously.
Parameters:
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. |