Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

windows CSP api

I am trying to write my own CSP. I am trying to do this by implementing a dll file, but I am not sure if I am on right way.

I found something like this: Cryptographic Service Provider Developer's Toolkit (CSPDK)

there are samples with CSP API

CPAcquireContext CPGenKey ... etc.

(it looks for me like an old api or api for winCE)

And here comes my question, which functions should I implement to provide new CSP for windows 7 and XP.

Is my plan good? - should I implement simple DLL and put her reference in register? Or am i missing something?

like image 965
Jakub C Avatar asked May 07 '26 01:05

Jakub C


1 Answers

You might be missing CNG which is a (long term) replacement for the MS Crypto API. You can create modules for that as well. Unfortunately it is only available since Vista. Windows XP is too old (and you should probably not be producing new applications for XP anyway).

like image 184
Maarten Bodewes Avatar answered May 09 '26 09:05

Maarten Bodewes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!