Hi,
Thanks for posting in Q&A platform.
Please kindly note that you posted a new thread in windows 10 security forum. And it seems that your issue more related with CNG API, it is recommended to post a new thread in winapi-security Q&A platform for more help, the tag should be winapi-security:
https://learn.microsoft.com/en-us/answers/topics/winapi-security.html
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.
Best Regards,
Sunny
----------
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.