get_public_key_info_sync


Description:

[ Version ( since = "3.50" ) ]
public bool get_public_key_info_sync (string keyid, uint32 flags, out SList<GpgKeyInfo> out_infos, Cancellable? cancellable = null) throws Error

Receives information about a key keyid.

The keyid can be either key ID or an email address.

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

keyid

a key ID or an email address

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