Encodes a private key object and stores the result in a buffer.
the EC_KEY object to encode
the buffer for the result (if null the function returns number of bytes needed).
1 on success and 0 if an error occurred.
See Implementation
Encodes a private key object and stores the result in a buffer.