This is consistent with the RSA private key section https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-10#section-5.3.2
" In addition to the members used to represent RSA public keys, the following members are used to represent RSA private keys." -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ludwig Seitz Sent: Friday, May 24, 2013 1:22 PM To: [email protected] Subject: [jose] Question about JWK EC Hello, while implementing the JWK EC part of the JOSE draft, I've come across the following question: draft-ietf-jose-json-web-algorithms-10 "5.2.2. JWK Parameters for Elliptic Curve Private Keys In addition to the members used to represent Elliptic Curve public keys, the following member MUST be present to represent Elliptic Curve private keys:" However an EC private key is fundamentally different from an EC public key, it is just an integer and doesn't have the x and y parameters that an EC public key has. So when representing a EC private key, the x and y members of the public key are not readily available. Was it the intention of the WG that the encoding of the EC private key should include the parameters from the public key? Regards, Ludwig Seitz -- Ludwig Seitz, PhD SICS Swedish ICT AB Ideon Science Park Building Beta 2 Scheelevägen 17 SE-223 70 Lund Phone +46(0)70-349 92 51 http://www.sics.se _______________________________________________ jose mailing list [email protected] https://www.ietf.org/mailman/listinfo/jose
