Re: SSPI / SCHANNEL ( SSL ) and Thread Safety.
From: Mark M. (mark_NOSPAM_mullane_at_hotmail.com)
Date: Tue, 25 Nov 2003 13:23:18 -0000
Ah - found it:
This was discussed in this newsgroup before: do a search for:
"EncryptMessage (Schannel) and multiple threads "
The bottom line is:
You cannot call EncryptMessage with the same context from 2 threads
You cannot call Decrypt Message with the same context from 2 threads
You CAN call EncryptMessage simultanseously with DecryptMessage with the
So you are probably OK ...... ;)
"Nilesh Padbidri" <firstname.lastname@example.org> wrote in message
> Hi EB,
> I am using SSPI / SCHANNEL for SSL encryption & decryption and wanted to
> know if it is thread safe.
> For Ex : Can I call EncryptMessage / DecryptMessage APIs at the same time
> the SAME CONTEXT from diffrent threads.
> Thanks in advance,
> Nilesh Padbidri