Can we access legacy CSP with CNG?

sabrina hou 1 Reputation point

Our product enables the user to login with Smart Card certificate and local stored certificate. We are enhancing our application to support the certificates which are issued from CNG Key Storage Provider.
I want to know whether we can access the legacy CSP with CNG API. Else wise we need to maintain the logics to handle the legacy CSP and KSP. From my current understanding, we need to handle it with CryptoAPI for legacy CSP. For KSP, we need to handle it with CNG.
My questions:

  1. Can we access legacy CSP with CNG?
  2. What's is the Microsoft's plan to remove the legacy CSP support?
  3. Why some CryptoAPI are deprecated? But we still allow the customer to issue certificate from the legacy CSP.
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,692 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jenny Feng 14,111 Reputation points

    @sabrina hou

    You could find some info below:

    Also, according to your description, your issue seems more related with CNG API. To help you better, I suggest you submit a new case on the following Q&A as they will be more professional on your issue:

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.

    Thank you for your understanding.

    Hope above information can help you.


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.