pub unsafe extern "C" fn i2d_ECPrivateKey(
key: *const ec_key_st,
out: *mut *mut u8,
) -> i32
Expand description
Encodes a private key object and stores the result in a buffer. \param key the EC_KEY object to encode \param out the buffer for the result (if NULL the function returns number of bytes needed). \return 1 on success and 0 if an error occurred.