decrypt_full
Description:
[ CCode ( array_length_pos = 3.66667 , array_length_type = "gsize" ) ]
public uint8[] decrypt_full (Object key, Mechanism mechanism, uint8[] input, Cancellable? cancellable = null) throws Error
public uint8[] decrypt_full (Object key, Mechanism mechanism, uint8[] input, Cancellable? cancellable = null) throws Error
Decrypt data in a mechanism specific manner.
This call may block for an indefinite period.
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. |
| n_input |
length of the data to decrypt |
| n_result |
location to store the length of the result data |
Returns:
|
the data that was decrypted, or null if an error occured |