river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Wonderly <gr...@wonderly.org>
Subject Re: Jini Spec API changes - ServiceRegistrar AND OR <> Entry comparison Filtering
Date Thu, 29 Apr 2010 19:23:18 GMT
Peter Firmstone wrote:
> I don't know how to 
> enable the Service to specify a constraint on the signer of the 
> downloaded codebase if not originating from the service, any ideas?

The HTTPMD protocol handler (URLStreamHandler) does this by requiring that you 
know the MD5 sum of the jar that you want to download.  If you try and download 
the jar, and the sum is different, you can know that the content is not what you 
originally knew it to be.

Not directly signing, but a mechanism that is similar and provides a fairly 
secured indication of "source" based on what you knew at the moment you acquired 
the MD5 sum.

Gregg Wonderly

Mime
View raw message