> How will you know what the actual serializations for pub(-1) and priv(-2) will be? They have to vary by KEM, right?
You can use the ”kem" value in the "hkc" parameter to know the serialization format. However, you don't need to know the serialization format for pub/priv because it's an internal HPKE layer's business. The COSE layer just needs to pass ”pub" or "priv" value as it is to the HPKE layer. AJITOMI Daisuke
_______________________________________________ COSE mailing list [email protected] https://www.ietf.org/mailman/listinfo/cose
