Open
Description
Starting from #104961 we don't really need to keep dependency on EC_KEY anymore and can base all Import/Export APIs solely on EVP_PKEY.
There are couple of advantages of doing this:
- most notably Import/Export APIs become much less chatty on the P/Invoke boundary
- we move away from old OpenSSL APIs
- we can reduce a bit of code (i.e. remove SafeEcKeyHandle - see notes)
Some notes:
- for full advantage we would need to deprecate IntPtr overloads from (ECDsa|RSA|ECDiffieHellman)OpenSsl - there already exist SafeEvpPKeyHandle which can fully substitute it but it requires some work on the caller