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

Re: Requirements for PDF as container for VC's

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Sun, 8 Nov 2020 15:00:06 +0000
To: Kostas Karasavvas <kkarasavvas@gmail.com>
CC: "public-credentials@w3.org" <public-credentials@w3.org>
Message-ID: <39FFCBB7-AF3A-4DBC-BAA8-2D2565C0340D@adobe.com>
Good point – it doesn’t actually have to be JSON-LD.   The mechanism that I am thinking of will support any serialization – definitely worth calling out.

Yes, compatibility with 1.7 implies other versions – but since 1.7 is (a) the first ISO version and (b) been around for over a decade, there isn’t any reason to be using earlier versions.

Leonard

From: Kostas Karasavvas <kkarasavvas@gmail.com>
Date: Sunday, November 8, 2020 at 4:17 AM
To: Leonard Rosenthol <lrosenth@adobe.com>
Cc: "public-credentials@w3.org" <public-credentials@w3.org>
Subject: Re: Requirements for PDF as container for VC's

Hi Leonard,

Thanks for initiating this. I have been thinking of this as well.

On Sun, Nov 8, 2020 at 3:23 AM Leonard Rosenthol <lrosenth@adobe.com<mailto:lrosenth@adobe.com>> wrote:
Kicking off some discussions here – I’d like to start by putting down what I think are some “primary” requirements for the use of PDF in this context.  Am I missing anything?  Do you disagree with any of these?   Feedback welcome!!

## Requirements

- Shall store the VC in native JSON-LD (w/optional compression)
- VC should be in an easily accessible location (for both reading & writing)

Agree. And JSON-LD is what we intend to use. There could also be a 'serialization/type' option to specify the serialization to accommodate other use cases (XML? CBOR-LD?), if need be.

- Should require no language changes to PDF (except "metadata"-like values)
    - implies compatibility with both PDF 1.7 and 2.0

Agree. I assume that PDF 1.7 implies compatibility with older versions as well?

- Shall be usable in conjunction with standard PDF Signing/Certification

Makes sense. I have questions here wrt the PDF spec and how signing is happening (the 'hole' in the file approach) but these are for later.

Regards,
Kostas



Leonard


--
Konstantinos A. Karasavvas
Software Architect, Blockchain Engineer, Researcher, Educator
https://twitter.com/kkarasavvas<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fkkarasavvas&data=04%7C01%7Clrosenth%40adobe.com%7C83fdc71a1dd6424e79b908d883c7280f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637404238674007099%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Mlhi9kUZjGsSDZqKlpUG%2BG%2B5a8VWYbz5KiU29%2FA%2Buvg%3D&reserved=0>
Received on Sunday, 8 November 2020 15:00:22 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 8 November 2020 15:00:25 UTC