lonestar (sent by Nabble.com) wrote:
Thanks for your answer!

Yes, that's working so far. But I wonder why the function i2d_PublicKey is
not working properly?

I don't know how you've used it but you need to supply a EC_KEY
object with valid parameters as otherwise openssl can't interpret
the information in the public key.


And why is there no i2d_ECPublicKey function like for RSA? Has anybody
information about that?

well, i2d stands for "internal to DER" however the EC public key is not
really DER encoded - it's simply the public key encoded as an octet string
(or a sequence of bytes) => it's called o2i_ECPublicKey ...

Cheers,
Nils
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to