W3C home > Mailing lists > Public > public-credentials@w3.org > January 2017

Re: Linked Data Signatures implementation in Java?

From: Dave Longley <dlongley@digitalbazaar.com>
Date: Mon, 23 Jan 2017 18:51:58 -0500
To: Markus Sabadello <markus@danubetech.com>, public-credentials@w3.org
Message-ID: <591308b2-1ec0-a0a3-a4d8-cc5c1ae77fec@digitalbazaar.com>
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
Digital Bazaar, Inc.
Received on Monday, 23 January 2017 23:52:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 July 2018 21:19:34 UTC