Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Crypt.vcx and WIndows XP
Message
From
03/03/2004 17:09:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_Crypt.vcx and WIndows XP
Miscellaneous
Thread ID:
00882923
Message ID:
00882923
Views:
72
I'v created a _cryptapi class using the _Crypt.VCX and set the .cprovidername.cprovidername="Microsoft Base Cryptographic Provider v1.0".

Calls to encrypt/decrypt using the new class work great on my development machine (W98), however the class chokes on an XP system. My research has shown that the "Microsoft Base Cryptographic Provider v1.0" has an image path of "rsabase.dll" in the registry. However on an XP machine, the same provider has an image path to "rsaenh.dll". It appears that rsabase.dll is not distributed with XP.

Since my application will be running across many platforms, I want to use a common CSP. My initial plan was just to use the same call and change the dll(image path) on my machine to point to rsaenh.dll for testing. Or I could create my own registry entry and specifically point to rsaenh.dll. However it appears that the underlying function(s) within rsaenh.dll are not the same because when I make the same call to rsaenh.dll, the object returns errors for invalid parameters.

Does anyone know of good documentation on the rsaenh.dll functions, or an updated version of _Crypt.vcx that will work with rsaenh.dll functions?
Or maybe a "DUH", I'm just missing something?

Thanks,
Greg Taylor
Next
Reply
Map
View

Click here to load this message in the networking platform