cryptoapi windows 7 support
-
20-09-2019 - |
Solution
Do you mean if Windows 7 and Windows Server 2008 CryptoAPI is backwards compatible with older versions of CryptoAPI then yes.
All new CNG functionality is of course not.
OTHER TIPS
Yes. Windows 7 provides both APIs: CNG and CAPI.
Nevertheless, just try with verfy context:
#include <Wincrypt.h>
#include <stdio.h>
int main()
{
HCRYPTPROV hCryptProv = NULL;
if(CryptAcquireContext(&hCryptProv,NULL,NULL,PROV_RSA_FULL,CRYPT_VERIFYCONTEXT))
{
printf("CryptoAPI working\n\n");
exit(0);
}else
{
printf("Error 0x%.8x",GetLastError());
exit(1);
}
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow