class GPGME::Ctx
def edit_key(key, editfunc, hook_value = nil, out = Data.new)
def edit_key(key, editfunc, hook_value = nil, out = Data.new) err = GPGME::gpgme_op_edit(self, key, editfunc, hook_value, out) exc = GPGME::error_to_exception(err) raise exc if exc end