def keylist_start(pattern = nil, secret_only = false)
      err = GPGME::gpgme_op_keylist_start(self, pattern, secret_only ? 1 : 0)
      exc = GPGME::error_to_exception(err)
      raise exc if exc
    end
def keylist_start(pattern = nil, secret_only = false)
      err = GPGME::gpgme_op_keylist_start(self, pattern, secret_only ? 1 : 0)
      exc = GPGME::error_to_exception(err)
      raise exc if exc
    end
Searching and iterating through keys. Used by {GPGME::Key.find}

 Initiate a key listing operation for given pattern. If +pattern+ is
 +nil+, all available keys are returned. If +secret_only<+ is +true+,
 only secret keys are returned.

 Used by {GPGME::Ctx#each_key}