Hi! I'd like to serialize a EC public key into a DER encoded stream. I've tried the function i2d_PublicKey with the EVP_PKEY structure. I get the resulting length but nothing is copied to my destination buffer. The i2d_PrivateKey function although works fine. I get the resulting length and data is copied to my destination buffer.
Are there any known issues with that function? Another question is why the ec.h only provides a i2d_ECPrivateKey and no similar function for the public key. Thereby I'm using openssl 0.9.8a. Thanks & best regards, lonestar -- View this message in context: http://www.nabble.com/ECDSA---serializing-EC-public-key-into-a-DER-encoded-stream-tf1879892.html#a5139000 Sent from the OpenSSL - Dev forum at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
