Lines Matching refs:TLSVersion
31 from ssl import TLSVersion, _TLSContentType, _TLSMessageType
51 ver = getattr(ssl.TLSVersion, ver)
184 version = ssl.TLSVersion.__members__[version]
195 ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
201 ctx.maximum_version != ssl.TLSVersion.MAXIMUM_SUPPORTED and
1200 ssl.TLSVersion.MINIMUM_SUPPORTED,
1202 ssl.TLSVersion.TLSv1,
1204 ssl.TLSVersion.TLSv1_2
1208 ssl.TLSVersion.MAXIMUM_SUPPORTED,
1210 ssl.TLSVersion.TLSv1_3
1220 ctx.minimum_version = ssl.TLSVersion.TLSv1_1
1221 ctx.maximum_version = ssl.TLSVersion.TLSv1_2
1223 ctx.minimum_version, ssl.TLSVersion.TLSv1_1
1226 ctx.maximum_version, ssl.TLSVersion.TLSv1_2
1229 ctx.minimum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
1230 ctx.maximum_version = ssl.TLSVersion.TLSv1
1232 ctx.minimum_version, ssl.TLSVersion.MINIMUM_SUPPORTED
1235 ctx.maximum_version, ssl.TLSVersion.TLSv1
1238 ctx.maximum_version = ssl.TLSVersion.MAXIMUM_SUPPORTED
1240 ctx.maximum_version, ssl.TLSVersion.MAXIMUM_SUPPORTED
1243 ctx.maximum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
1246 {ssl.TLSVersion.TLSv1, ssl.TLSVersion.SSLv3}
1249 ctx.minimum_version = ssl.TLSVersion.MAXIMUM_SUPPORTED
1252 {ssl.TLSVersion.TLSv1_2, ssl.TLSVersion.TLSv1_3}
1264 ctx.maximum_version, ssl.TLSVersion.MAXIMUM_SUPPORTED
1267 ctx.minimum_version = ssl.TLSVersion.MINIMUM_SUPPORTED
1269 ctx.maximum_version = ssl.TLSVersion.TLSv1
3084 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3115 server_context.minimum_version = ssl.TLSVersion.TLSv1_3
3116 client_context.minimum_version = ssl.TLSVersion.TLSv1_3
3804 client_context.minimum_version = ssl.TLSVersion.TLSv1
3805 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3807 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
3808 server_context.maximum_version = ssl.TLSVersion.TLSv1_2
3821 client_context.minimum_version = ssl.TLSVersion.TLSv1
3822 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
3823 server_context.minimum_version = ssl.TLSVersion.TLSv1
3824 server_context.maximum_version = ssl.TLSVersion.TLSv1_1
3838 server_context.maximum_version = ssl.TLSVersion.TLSv1_2
3839 server_context.minimum_version = ssl.TLSVersion.TLSv1_2
3840 client_context.maximum_version = ssl.TLSVersion.TLSv1
3841 client_context.minimum_version = ssl.TLSVersion.TLSv1
3853 server_context.minimum_version = ssl.TLSVersion.SSLv3
3854 client_context.minimum_version = ssl.TLSVersion.SSLv3
3855 client_context.maximum_version = ssl.TLSVersion.SSLv3
4536 client_context.maximum_version = ssl.TLSVersion.TLSv1_2
4703 ("read", TLSVersion.TLSv1_2, _TLSContentType.HANDSHAKE,
4708 ("write", TLSVersion.TLSv1_2, _TLSContentType.CHANGE_CIPHER_SPEC,