setField("context", pgpService, context);
setField("urlInputStreamService", pgpService, inputStreamService);
invokeMethod("trustDefaultKeys", pgpService);
// Prepare the Http PGP Url Handler and register as OSGi service
HttpPgpUrlStreamHandlerServiceImpl httpPgpService = new HttpPgpUrlStreamHandlerServiceImpl();
setField("urlInputStreamService", httpPgpService, inputStreamService);
setField("pgpService", httpPgpService, pgpService);
context.registerService(URLStreamHandlerService.class.getName(), httpPgpService, dict);
}