英文:
Does the C# program I created on .NET framework 4.8 use openssl?
问题
I developed a client that calls Rest API with C# (.NET framework 4.8).
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
The server's HTTPS certificate encryption suite uses ECDHE-RSA-AES128-GCM-SHA256.
I want to know which library my client uses for actual SSL communication.
I just use the HttpWebRequest class of C#.
In this case, do I use the openssl built into the window?
I looked it up and found a module called SChannel in Windows.
I'm not sure if I actually use openssl or channel or anything else.
Does anyone know about this?
It seems that Java implements SSL through something called JSSE. I searched if there was such a thing in C#.
英文:
I developed a client that calls Rest API with C# (.NET framework 4.8)
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
The server's HTTPS certificate encryption suite uses ECDHE-RSA-AES128-GCM-SHA256.
I want to know which library my client uses for actual SSL communication.
I just use the HttpWebRequest class of C#.
In this case, do I use the openssl built into the window?
I looked it up and found a module called SChannel in Windows.
I'm not sure if I actually use openssl or channel or anything else.
Does anyone know about this?
It seems that java implements ssl through something called jsse. I searched if there was such a thing in c#.
答案1
得分: 2
以下是引自Microsoft的“使用.NET Framework的传输层安全(TLS)最佳实践”的引用:
你的应用的网络连接经过Schannel(也是安全通道的另一个名称)。通过配置Schannel,你可以配置你的应用的行为。
Schannel SSP实现了TLS、DTLS和SSL协议的不同版本。不同的Windows版本支持不同的协议版本。
所以,HttpWebRequest
类使用了Windows内置的SChannel安全协议。
英文:
Here is quote from "Transport Layer Security (TLS) best practices with the .NET Framework" from Microsoft:
> Your app's networking goes through Schannel (which is another name for Secure Channel. By configuring Schannel, you can configure your app's behavior.
> The Schannel SSP implements versions of the TLS, DTLS and SSL protocols. Different Windows versions support different protocol versions.
So, HttpWebRequest
class uses the Windows built-in SChannel security protocol.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论