Searched refs:TLSVersion (Results 1 – 6 of 6) sorted by relevance
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/ |
D | StandardNames.java | 109 String algorithm, TLSVersion minimum, TLSVersion maximum) { in provideSslContextEnabledProtocols() 116 versionNames[i] = TLSVersion.values()[i + minimum.ordinal()].name; in provideSslContextEnabledProtocols() 134 provideSslContextEnabledProtocols("TLS", TLSVersion.TLSv1, TLSVersion.TLSv13); 135 provideSslContextEnabledProtocols("TLSv1", TLSVersion.TLSv1, TLSVersion.TLSv12); 136 provideSslContextEnabledProtocols("TLSv1.1", TLSVersion.TLSv1, TLSVersion.TLSv12); 137 provideSslContextEnabledProtocols("TLSv1.2", TLSVersion.TLSv1, TLSVersion.TLSv12); 138 provideSslContextEnabledProtocols("TLSv1.3", TLSVersion.TLSv1, TLSVersion.TLSv13); 139 provideSslContextEnabledProtocols("Default", TLSVersion.TLSv1, TLSVersion.TLSv13); 161 private enum TLSVersion { enum in StandardNames 171 TLSVersion(String name) { in TLSVersion() method in StandardNames.TLSVersion
|
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/ |
D | StandardNames.java | 107 String algorithm, TLSVersion minimum, TLSVersion maximum) { in provideSslContextEnabledProtocols() 114 versionNames[i] = TLSVersion.values()[i + minimum.ordinal()].name; in provideSslContextEnabledProtocols() 132 provideSslContextEnabledProtocols("TLS", TLSVersion.TLSv1, TLSVersion.TLSv13); 133 provideSslContextEnabledProtocols("TLSv1", TLSVersion.TLSv1, TLSVersion.TLSv12); 134 provideSslContextEnabledProtocols("TLSv1.1", TLSVersion.TLSv1, TLSVersion.TLSv12); 135 provideSslContextEnabledProtocols("TLSv1.2", TLSVersion.TLSv1, TLSVersion.TLSv12); 136 provideSslContextEnabledProtocols("TLSv1.3", TLSVersion.TLSv1, TLSVersion.TLSv13); 137 provideSslContextEnabledProtocols("Default", TLSVersion.TLSv1, TLSVersion.TLSv13); 159 private enum TLSVersion { enum in StandardNames 169 TLSVersion(String name) { in TLSVersion() method in StandardNames.TLSVersion
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 45 ver = getattr(ssl.TLSVersion, ver) 1128 {ssl.TLSVersion.MINIMUM_SUPPORTED, 1130 ssl.TLSVersion.TLSv1, 1132 ssl.TLSVersion.TLSv1_2} 1135 ctx.maximum_version, ssl.TLSVersion.MAXIMUM_SUPPORTED 1138 ctx.minimum_version = ssl.TLSVersion.TLSv1_1 1139 ctx.maximum_version = ssl.TLSVersion.TLSv1_2 1141 ctx.minimum_version, ssl.TLSVersion.TLSv1_1 1144 ctx.maximum_version, ssl.TLSVersion.TLSv1_2 1147 ctx.minimum_version = ssl.TLSVersion.MINIMUM_SUPPORTED [all …]
|
/external/python/cpython3/Lib/ |
D | ssl.py | 158 class TLSVersion(_IntEnum): class 485 return TLSVersion(super().minimum_version) 489 if value == TLSVersion.SSLv3: 495 return TLSVersion(super().maximum_version)
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 1037 .. class:: TLSVersion 1044 .. attribute:: TLSVersion.MINIMUM_SUPPORTED 1045 .. attribute:: TLSVersion.MAXIMUM_SUPPORTED 1051 .. attribute:: TLSVersion.SSLv3 1052 .. attribute:: TLSVersion.TLSv1 1053 .. attribute:: TLSVersion.TLSv1_1 1054 .. attribute:: TLSVersion.TLSv1_2 1055 .. attribute:: TLSVersion.TLSv1_3 1906 A :class:`TLSVersion` enum member representing the highest supported 1907 TLS version. The value defaults to :attr:`TLSVersion.MAXIMUM_SUPPORTED`. [all …]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 359 Add TLSVersion constants and SSLContext.maximum_version / minimum_version
|