It was my read of the spec that the private key components are always in addition and the resulting object is a key pair.
-- Justin On May 24, 2013, at 7:22 AM, Ludwig Seitz <[email protected]> wrote: > 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 _______________________________________________ jose mailing list [email protected] https://www.ietf.org/mailman/listinfo/jose
