Rewrite some CryptoAPI functions RRS feed

  • Question

  • Hi all,

    I need to extend some CryptoAPI functionality, especiallly about certificate export/import procedures. For example, when the user tries to export a certificate from the keystore, I need to do some more operations beyond those already performed by windows. Is there a way to do this? I've read something about writing a custom CSP, but I think CryptoSPI will not help in my case. Am I right? Any help is welcome.

    thanks in advance,
    Friday, May 8, 2009 8:15 PM

All replies

  • You are right. A CSP suits you well if you want to use your own HW (smart card, token), your own set of algorithms (asym, sym, hash) or even your own procedures of key importing/exporting.

    But be careful. Since writing a CSP can be a quite cumbersome process, you should first consider using MS's providers.

    For more info take a look at MSDN.

    Wednesday, May 27, 2009 1:59 AM