Re: Linked Data Signatures implementation in Java?

Hi Markus,

On 01/21/2017 08:59 AM, Markus Sabadello wrote:
> Hello all,
> 
> I'm wondering if there is a Java implementation of the Linked Data
> Signatures algorithm?
> https://w3c-dvcg.github.io/ld-signatures/

Not that I'm aware of.

JSONLD-JAVA[1] has a normalization/canonicalization implementation but I
think it's for URGNA2012, not URDNA2015. So it can canonicalize RDF
graphs, but not RDF datasets.

In short, you could use that library to produce the data to sign for a
GraphSignature2012 Linked Data signature, but it would be an incomplete
implementation. Furthermore, it would be better to implement
LinkedDataSignature2015/LinkedDataSignature2016, not the (obsolete)
GraphSignature2012 algorithm.

That being said, the difference between URGNA2012 and URDNA2015 is quite
minimal and the rest of the signature algorithm is trivial, so there's
really not that much extra code that would be required to get a Java
implementation working.

1. https://github.com/jsonld-java/jsonld-java


-- 
Dave Longley
CTO
Digital Bazaar, Inc.

Received on Monday, 23 January 2017 23:52:29 UTC