OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/ssl_config/ssl_config_switches.h" | 5 #include "components/ssl_config/ssl_config_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Specifies the maximum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). | 9 // Specifies the maximum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or |
| 10 // "tls1.3"). |
10 const char kSSLVersionMax[] = "ssl-version-max"; | 11 const char kSSLVersionMax[] = "ssl-version-max"; |
11 | 12 |
12 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). | 13 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", "tls1.2", or |
| 14 // "tls1.3"). |
13 const char kSSLVersionMin[] = "ssl-version-min"; | 15 const char kSSLVersionMin[] = "ssl-version-min"; |
14 | 16 |
15 // These values aren't switches, but rather the values that kSSLVersionMax and | 17 // These values aren't switches, but rather the values that kSSLVersionMax and |
16 // kSSLVersionMin can have. | 18 // kSSLVersionMin can have. |
17 const char kSSLVersionTLSv1[] = "tls1"; | 19 const char kSSLVersionTLSv1[] = "tls1"; |
18 const char kSSLVersionTLSv11[] = "tls1.1"; | 20 const char kSSLVersionTLSv11[] = "tls1.1"; |
19 const char kSSLVersionTLSv12[] = "tls1.2"; | 21 const char kSSLVersionTLSv12[] = "tls1.2"; |
| 22 const char kSSLVersionTLSv13[] = "tls1.3"; |
20 | 23 |
21 } // namespace switches | 24 } // namespace switches |
OLD | NEW |