cose-wg / HPKE

3 stars 3 forks source link

Specify in terms of Seal() and Open APIs #42

Open laurencelundblade opened 11 months ago

laurencelundblade commented 11 months ago

As an implementor, what I really want to know is how COSE data structures go in and out of the HPKE Seal() and Open() APIs. These APIs are THE definition of HPKE.

I would write a section, maybe as a table with one Seal() parameter per row and describe how to construct them.

dajiaji commented 11 months ago

I think it's a good idea. It would be helpful to the implementors. I support adding this kind of description to the spec.

hannestschofenig commented 9 months ago

We had this type of description in an earlier version of the spec, see https://www.ietf.org/archive/id/draft-ietf-cose-hpke-05.html#name-hpke-encryption-and-decrypt

Is this what you are asking for?