decrypt_async


Description:

public async uint8[] decrypt_async (Object key, Mechanism mechanism, uint8[] input, Cancellable? cancellable) throws Error

Decrypt data in a mechanism specific manner.

This call will return immediately and complete asynchronously.

Parameters:

this

The session.

key

The key to decrypt with.

mechanism

The mechanism type and parameters to use for decryption.

input

data to decrypt

cancellable

A GCancellable which can be used to cancel the operation.

callback

Called when the operation completes.

n_input

length of the data to decrypt

user_data

A pointer to pass to the callback.