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", or "tls1.2"). |
10 const char kSSLVersionMax[] = "ssl-version-max"; | 10 const char kSSLVersionMax[] = "ssl-version-max"; |
11 | 11 |
12 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). | 12 // Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). |
13 const char kSSLVersionMin[] = "ssl-version-min"; | 13 const char kSSLVersionMin[] = "ssl-version-min"; |
14 | 14 |
15 // Specifies the minimum SSL/TLS version ("tls1.1" or "tls1.2") that | 15 // These values aren't switches, but rather the values that kSSLVersionMax and |
16 // TLS fallback will accept. | 16 // kSSLVersionMin can have. |
17 const char kSSLVersionFallbackMin[] = "ssl-version-fallback-min"; | |
18 | |
19 // These values aren't switches, but rather the values that kSSLVersionMax, | |
20 // kSSLVersionMin and kSSLVersionFallbackMin can have. | |
21 const char kSSLVersionTLSv1[] = "tls1"; | 17 const char kSSLVersionTLSv1[] = "tls1"; |
22 const char kSSLVersionTLSv11[] = "tls1.1"; | 18 const char kSSLVersionTLSv11[] = "tls1.1"; |
23 const char kSSLVersionTLSv12[] = "tls1.2"; | 19 const char kSSLVersionTLSv12[] = "tls1.2"; |
24 | 20 |
25 } // namespace switches | 21 } // namespace switches |
OLD | NEW |