has_public_key_sync


Description:

[ Version ( since = "3.50" ) ]
public bool has_public_key_sync (string keyid, Cancellable? cancellable = null) throws Error

Checks whether there exists a public key with keyid.

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

Parameters:

this

a GpgContext

keyid

a key ID or an email address

cancellable

optional Cancellable object, or null

Returns:

whether the key could be found