263264265266267268269270271272273274
public void trust(PgpKeyId keyId) { ServiceReference reference = framework.getBundleContext().getServiceReference(PgpService.class.getName()); if (reference != null) { try { PgpService service = (PgpService)framework.getBundleContext().getService(reference); service.trust(keyId); } catch (Throwable e) { RooCoreActivator.log(e); } }