0

What does it mean that a function, in particular CryptExportPKCS8 is deprecated? https://msdn.microsoft.com/en-us/library/windows/desktop/aa379932(v=vs.85).aspx

I'm aware that one can't use it with newer version of wincrypt just because it is not present in header file, but can a program based on old wincrypt.h and crypt32.lib still retrieve private key from certificate store in Windows 10? Or is it impossible to access such data without using more up-to-date API?

Leśny Rumcajs
  • 2,259
  • 2
  • 17
  • 33

1 Answers1

0

Deprecated means "going away, change your code". In this case, it appears that MS wants you to use PFXExportCertStoreEx() instead.

John Hascall
  • 9,176
  • 6
  • 48
  • 72
  • That doesn't answer my question at all - I can read the first line of the link I provided myself. The question is whether the deprecated function still works given deprecated API, correct implementation and modern system. – Leśny Rumcajs Jan 11 '16 at 09:56
  • 1
    Who knows. The only way to know is to try it. But even if it does work, you are playing with fire, any future update could make it stop working. – John Hascall Jan 11 '16 at 10:04