W3C home > Mailing lists > Public > public-credentials@w3.org > October 2020

Re: Question regarding JSON-LD canonicalization

From: Orie Steele <orie@transmute.industries>
Date: Mon, 19 Oct 2020 14:33:06 -0500
Message-ID: <CAN8C-_La9cJyY=OLe6nP-S0i03Hg2FYL8bwNgtoVbGEzVQ4t3Q@mail.gmail.com>
To: Andreas Kuehne <kuehne@trustable.de>
Cc: "W3C Credentials CG (Public List)" <public-credentials@w3.org>
https://github.com/digitalbazaar/jsonld-signatures/blob/e3f7c1209f2adc0d3b9171083f98785d7a1d180d/lib/suites/LinkedDataSignature.js#L111

https://github.com/digitalbazaar/jsonld-signatures/blob/e3f7c1209f2adc0d3b9171083f98785d7a1d180d/lib/suites/LinkedDataSignature.js#L213

See also the spec:
https://w3c-ccg.github.io/ld-proofs/#create-verify-hash-algorithm

Regards,

OS

On Mon, Oct 19, 2020 at 2:30 PM Andreas Kuehne <kuehne@trustable.de> wrote:

> Hi experts,
>
>
>  I would like to canonicalize a JSON-LD as a preparation for a signature
> creation.
>
> Using jsonld-java and applied normalize() using URDNA2015. But the
> output is not a byte array (ready for hashing) but a RDFDataSet. What's
> the next step to retrieve a hashable byte array?
>
>
> Greetings,
>
>
> Andreas
>
> --
> Andreas Kühne
>
> Chair of OASIS DSS-X
>
> phone: +49 177 293 24 97
> mailto: kuehne@trustable.de
>
>
> Trustable solutions UG (haftungsbeschränkt), Gartenheimstr. 39C, 30659
> Hannover, Amtsgericht Hannover HRB 219338
>
> Trustable Ltd. Niederlassung Deutschland, Gartenheimstr. 39C, 30659
> Hannover, Amtsgericht Hannover HRB 212612
>
> Company UK Company No: 5218868 Registered in England and Wales
>
>
>
>

-- 
*ORIE STEELE*
Chief Technical Officer
www.transmute.industries

<https://www.transmute.industries>
Received on Monday, 19 October 2020 19:33:32 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:25:04 UTC