News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Use key/cert from CSP?  
by Stuart
posted on 2005/03/29

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.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.