Re: SSPI and Crypto
- From: "John Banes" <jabanes@xxxxxxxxxxx>
- Date: Sun, 26 Aug 2007 16:19:22 -0700
comments inline
"Rpj" <Rpj@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:493D8F6E-BAB8-49F2-88CB-EF5701A02BD2@xxxxxxxxxxxxxxxx
Hi,Nope. On Windows, SSPI is the low-level API for SSL operations. There are
I have a few queries regarding Crypto and SSL services provided by
windows.
You can find them below. It would be really great if anyone helps me.
Question 1:
In windows, is SSPI the only way to invoke SSL? Are there any low level
SSL
calls (for example equivalent OpenSSL APIs) exposed to the user?
other API's for SSL, but as I recall these all internally invoke the SSPI
functions.
The Crypto and SSL/SSPI functions are threadsafe, with a few fairly obvious
Question 2:
Is PEM encoding supported in windows? If yes, what are the interfaces to
encode and decode certificates in the PEM format?
Question 3:
Are all the Crypto and SSL calls thread safe? If not, how to ensure thread
safeness in a multithreaded environment? Are there any locking callbacks
available in windows like OpenSSL?
exceptions. For example, you can't encrypt using the same symmetric key at
the same time from multiple threads, since the encryption operation changes
the state of the key. Many of the Microsoft server applications such as IIS
use these function intensively, and you don't see them serializing their
crypto calls. :-)
Thanks in advance,
Regards,
Rpj
.
- Prev by Date: Re: How DPAPI decrypts the protected data when master key is deleted from machine?
- Next by Date: Re: Help with CryptAcquireContext and Mandatory Profiles!
- Previous by thread: Re: Problems when opening an encrypted e-mail with my CSP
- Next by thread: Changing the location of keys and certificates
- Index(es):
Relevant Pages
|