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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
jose mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/jose

Reply via email to