Lines Matching refs:TLSVersion
40 from ssl import TLSVersion, _TLSContentType, _TLSMessageType, _TLSAlertType
58 ver = getattr(ssl.TLSVersion, ver)
177 ctx.minimum_version <= ssl.TLSVersion.TLSv1_1
218 version = ssl.TLSVersion.__members__[version]
224 if IS_OPENSSL_3_0_0 and version < ssl.TLSVersion.TLSv1_2:
233 ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
239 ctx.maximum_version != ssl.TLSVersion.MAXIMUM_SUPPORTED and
604 ssl.TLSVersion.SSLv3,
605 ssl.TLSVersion.TLSv1,
606 ssl.TLSVersion.TLSv1_1,
1243 ssl.TLSVersion.MINIMUM_SUPPORTED,
1245 ssl.TLSVersion.TLSv1,
1247 ssl.TLSVersion.TLSv1_2
1251 ssl.TLSVersion.MAXIMUM_SUPPORTED,
1253 ssl.TLSVersion.TLSv1_3
1263 ctx.minimum_version = ssl.TLSVersion.TLSv1_1
1264 ctx.maximum_version = ssl.TLSVersion.TLSv1_2
1266 ctx.minimum_version, ssl.TLSVersion.TLSv1_1
1269 ctx.maximum_version, ssl.TLSVersion.TLSv1_2
1272 ctx.minimum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
1273 ctx.maximum_version = ssl.TLSVersion.TLSv1
1275 ctx.minimum_version, ssl.TLSVersion.MINIMUM_SUPPORTED
1278 ctx.maximum_version, ssl.TLSVersion.TLSv1
1281 ctx.maximum_version = ssl.TLSVersion.MAXIMUM_SUPPORTED
1283 ctx.maximum_version, ssl.TLSVersion.MAXIMUM_SUPPORTED
1286 ctx.maximum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
1289 {ssl.TLSVersion.TLSv1, ssl.TLSVersion.SSLv3}
1292 ctx.minimum_version = ssl.TLSVersion.MAXIMUM_SUPPORTED
1295 {ssl.TLSVersion.TLSv1_2, ssl.TLSVersion.TLSv1_3}
1307 ctx.maximum_version, ssl.TLSVersion.MAXIMUM_SUPPORTED
1310 ctx.minimum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
1312 ctx.maximum_version = ssl.TLSVersion.TLSv1
3131 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3220 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3251 server_context.minimum_version = ssl.TLSVersion.TLSv1_3
3252 client_context.minimum_version = ssl.TLSVersion.TLSv1_3
3877 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3910 client_context.minimum_version = ssl.TLSVersion.TLSv1_3
3928 client_context.minimum_version = ssl.TLSVersion.TLSv1
3929 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3931 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
3932 server_context.maximum_version = ssl.TLSVersion.TLSv1_2
3945 client_context.minimum_version = ssl.TLSVersion.TLSv1
3946 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3947 server_context.minimum_version = ssl.TLSVersion.TLSv1
3948 server_context.maximum_version = ssl.TLSVersion.TLSv1_1
3963 server_context.maximum_version = ssl.TLSVersion.TLSv1_2
3964 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
3965 client_context.maximum_version = ssl.TLSVersion.TLSv1
3966 client_context.minimum_version = ssl.TLSVersion.TLSv1
3979 server_context.minimum_version = ssl.TLSVersion.SSLv3
3980 client_context.minimum_version = ssl.TLSVersion.SSLv3
3981 client_context.maximum_version = ssl.TLSVersion.SSLv3
3996 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4092 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4095 server_context.maximum_version = ssl.TLSVersion.TLSv1_2
4110 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
4119 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
4129 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
4341 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4400 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4401 client_context2.maximum_version = ssl.TLSVersion.TLSv1_2
4620 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4705 server_context.maximum_version = ssl.TLSVersion.TLSv1_2
4825 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4844 ("read", TLSVersion.TLSv1_2, _TLSContentType.HANDSHAKE,
4849 ("write", TLSVersion.TLSv1_2, _TLSContentType.CHANGE_CIPHER_SPEC,