install_signature
Description:
[ Version ( since = "0.5.3" ) ]
public Results install_signature (SigType type, string key_id, string package_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
public Results install_signature (SigType type, string key_id, string package_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a software repository signature of the newest and most correct version.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a valid Client instance |
type |
the signature type, e.g. GPG |
key_id |
a key ID such as "0df23df" |
package_id |
a signature_id structure such as "hal;0.0.1;i386;fedora" |
cancellable |
a Cancellable or |
progress_callback |
the function to run when the progress changes |
progress_user_data |
data to pass to |
Returns:
a Results object, or |