import_key_sync


Description:

[ Version ( since = "3.50" ) ]
public bool import_key_sync (uint8 data, size_t data_size, uint32 flags, Cancellable? cancellable = null) throws Error

Imports a (public) key provided in a binary form stored in the data of size data_size.

Parameters:

this

a GpgContext

data

the public key data

data_size

the data size

flags

bit-or of CamelPgpImportFlags, flags for the operation

cancellable

optional Cancellable object, or null

Returns:

whether succeeded