Hello, is it possible to have the library use a key/cert made accessible through a CSP? For example if I want to offload SSL to a hardware device and use the key located on the device, can I do so?
Thanks.
by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2005/03/29
Yes, you can. The security library is using the Windows CryptoAPI for certificate management and private key operations, so if you can access the private key from the CryptoAPI, you should also be able to access it with our library.
by Stuart posted on 2005/03/29
Thank you. Would you mind pointing me in the right direction? The way I'm using the CSP now is to call CryptAcquireContext() with the name of the Provider. But I'm confused about how to tell the Mentalis library that I want to use a key from a provider and not the default certificate stores.