Good question! I guess the answer is that ECDH-ES requires a JWK-formatted “epk” header and so the JWK elliptic curve IANA registry defines the available choices. https://tools.ietf.org/html/rfc7518#section-7.6
https://tools.ietf.org/html/rfc7518#section-4.6.1.1 But I agree that you have to join the dots a bit. — Neil > On 3 Nov 2020, at 21:40, Vladimir Dzhuvinov <[email protected]> wrote: > > Today we received the question why the Nimbus JOSE+JWT lib supports the > EC curves it does for ECDH (P-256, P-384, P-512) and I couldn't find any > normative text or reference in the JWA spec to explain this. > > https://tools.ietf.org/html/rfc7518#section-4.6 > > > We also looked at the IANA registry for hints: > > https://www.iana.org/assignments/jose/jose.xhtml > > > Contrast this with the JWS ECDSA, where the curves to go with the ESxxx > algs are specced: > > https://tools.ietf.org/html/rfc7518#section-3.4 > > > Can someone help here? :) > > > Thanks, > > Vladimir > > -- > Vladimir Dzhuvinov > > > _______________________________________________ > jose mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/jose -- ForgeRock values your Privacy <https://www.forgerock.com/your-privacy>
_______________________________________________ jose mailing list [email protected] https://www.ietf.org/mailman/listinfo/jose
