开发者

What does Win32 API call SslEncryptPacket() do exactly?

http://msdn.microsoft.com/en-us/library/ff468663(v=vs.85).aspx. Why do we need to encrypt the entire packet instead of just encrypting the TCP payload? Also I get an error that 开发者_如何学Pythonsslprovider.h does not exist when I try and include it. I am using nmake and I can't find it anywhere on my computer.


Actually it is encryption of the payload.

As for sslprovider.h - check that you have recent version of platform SDK. The function, as MSDN says, appeared only in Vista and 2008 Server cause you are looking at CNG (new cryptography API introduced in Vista). SChannel also has another API, which has been offered since 2000 or XP. You might need to look at it if you plan to support WinXP.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜