get_key_data_info_sync


Description:

[ Version ( since = "3.50" ) ]
public bool get_key_data_info_sync (uint8 data, size_t data_size, uint32 flags, out SList<GpgKeyInfo> out_infos, Cancellable? cancellable = null) throws Error

Receives information about a key stored in data of size data_size.

The flags argument is currently unused and should be set to 0.

Free the returned out_infos with g_slist_free_full (infos, camel_gpg_key_info_free); when no longer needed.

Parameters:

this

a GpgContext

data

the public key data

data_size

the data size

flags

flags for the operation

out_infos

an out parameter to get SList of GpgKeyInfo structures

cancellable

optional Cancellable object, or null

Returns:

whether succeeded