ehn-dcc-development / eu-dcc-hcert-spec

Electronic Health Certificates Specification
363 stars 40 forks source link

HCERT file #102

Closed jakubvano closed 2 years ago

jakubvano commented 2 years ago

Are there any recommendations / guidelines on how to create a file containing HCERT data?

We are considering sharing DCCs from Wallet app to third party mobile applications on the same device. Most appropriate option seems to be creating a HCERT file and transporting it via standard OS mechanisms. Besides content of the file we would need to define a file extension, mime type and UTI (iOS / OSX environment).

One option we are considering would be to rely on CBOR file format definition, with .cbor file extension and application/cbor MIME type, Unfortunately, no standard UTI seems to be defined. Another option could be to define a custom format, e.g. with .hcert file extension, application/hcert MIME type and public.hcert UTI.

Thanks for any pointer / insight.

ryanbnl commented 2 years ago

We've provided a specification for a validation service to allow some use cases which avoid the need to transfer all the data to random apps.