博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
微软自己的官网介绍 SSL 参数相关
阅读量:4321 次
发布时间:2019-06-06

本文共 1648 字,大约阅读时间需要 5 分钟。

https://docs.microsoft.com/en-us/dotnet/api/system.security.authentication.sslprotocols?redirectedfrom=MSDN&view=netframework-4.0

 

SslProtocols Enum

Definition

Defines the possible versions of .

This enumeration has a  attribute that allows a bitwise combination of its member values.

C#Copy
[System.Flags]public enum SslProtocols
Inheritance
SslProtocols
Attributes

Fields 

Default 240

Use None instead of DefaultDefault permits only the Secure Sockets Layer (SSL) 3.0 or Transport Layer Security (TLS) 1.0 protocols to be negotiated, and those options are now considered obsolete. Consequently, Default is not allowed in many organizations. Despite the name of this field,  does not use it as a default except under special circumstances.

None 0

Allows the operating system to choose the best protocol to use, and to block protocols that are not secure. Unless your app has a specific reason not to, you should use this field.

Ssl2 12

Specifies the SSL 2.0 protocol. SSL 2.0 has been superseded by the TLS protocol and is provided for backward compatibility only.

Ssl3 48

Specifies the SSL 3.0 protocol. SSL 3.0 has been superseded by the TLS protocol and is provided for backward compatibility only.

Tls 192

Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246.

Applies to

.NET Core
2.1, 2.0, 1.1, 1.0
.NET Framework
4.7.2, 4.7.1, 4.7, 4.6.2, 4.6.1, 4.6, 4.5.2, 4.5.1, 4.5, 4.0, 3.5, 3.0, 2.0
.NET Standard
2.0, 1.6, 1.4, 1.3
Xamarin.Android
7.1
Xamarin.iOS
10.8
Xamarin.Mac
3.0

转载于:https://www.cnblogs.com/jinanxiaolaohu/p/9677787.html

你可能感兴趣的文章
Laravel 的生命周期
查看>>
Nginx
查看>>
Navicat远程连接云主机数据库
查看>>
Nginx配置文件nginx.conf中文详解(总结)
查看>>
jxl写入excel实现数据导出功能
查看>>
linux文件目录类命令|--cp指令
查看>>
.net MVC 404错误解决方法
查看>>
linux系统目录结构
查看>>
学习进度
查看>>
使用Postmark测试后端存储性能
查看>>
NSTextView 文字链接的定制化
查看>>
第五天站立会议内容
查看>>
最短路径(SP)问题相关算法与模板
查看>>
js算法之最常用的排序
查看>>
Python——交互式图形编程
查看>>
经典排序——希尔排序
查看>>
团队编程项目作业2-团队编程项目代码设计规范
查看>>
英特尔公司将停止910GL、915GL和915PL芯片组的生产
查看>>
Maven配置
查看>>
HttpServletRequest /HttpServletResponse
查看>>