Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a project to import certificates to the certificate stores. I want to verify the certificate, whether it it CA certificate or not, so that I need to import them to root store and if not CA then to personal store.

What I have tried:

I am using wincrypt.h. I found CertGetCertificateContextProperty can be used to get certificate property details. Does this API helps to identify whether a certificate is CA or not ?
Posted
Updated 27-Jul-20 2:31am

1 solution

The documentation contains detasils of the certificate and its type: CertGetCertificateContextProperty function (wincrypt.h) - Win32 apps | Microsoft Docs[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900