/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/ |
D | StandardNames.java | 130 String algorithm, TLSVersion minimum, TLSVersion maximum) { in provideSslContextEnabledProtocols() 137 versionNames[i] = TLSVersion.values()[i + minimum.ordinal()].name; in provideSslContextEnabledProtocols() 155 provideSslContextEnabledProtocols("TLS", TLSVersion.TLSv1, TLSVersion.TLSv13); 156 provideSslContextEnabledProtocols("TLSv1", TLSVersion.TLSv1, TLSVersion.TLSv12); 157 provideSslContextEnabledProtocols("TLSv1.1", TLSVersion.TLSv1, TLSVersion.TLSv12); 158 provideSslContextEnabledProtocols("TLSv1.2", TLSVersion.TLSv1, TLSVersion.TLSv12); 159 provideSslContextEnabledProtocols("TLSv1.3", TLSVersion.TLSv1, TLSVersion.TLSv13); 160 provideSslContextEnabledProtocols("Default", TLSVersion.TLSv1, TLSVersion.TLSv13); 182 private enum TLSVersion { enum in StandardNames 192 TLSVersion(String name) { in TLSVersion() method in StandardNames.TLSVersion
|
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/ |
D | StandardNames.java | 128 String algorithm, TLSVersion minimum, TLSVersion maximum) { in provideSslContextEnabledProtocols() 135 versionNames[i] = TLSVersion.values()[i + minimum.ordinal()].name; in provideSslContextEnabledProtocols() 153 provideSslContextEnabledProtocols("TLS", TLSVersion.TLSv1, TLSVersion.TLSv13); 154 provideSslContextEnabledProtocols("TLSv1", TLSVersion.TLSv1, TLSVersion.TLSv12); 155 provideSslContextEnabledProtocols("TLSv1.1", TLSVersion.TLSv1, TLSVersion.TLSv12); 156 provideSslContextEnabledProtocols("TLSv1.2", TLSVersion.TLSv1, TLSVersion.TLSv12); 157 provideSslContextEnabledProtocols("TLSv1.3", TLSVersion.TLSv1, TLSVersion.TLSv13); 158 provideSslContextEnabledProtocols("Default", TLSVersion.TLSv1, TLSVersion.TLSv13); 180 private enum TLSVersion { enum in StandardNames 190 TLSVersion(String name) { in TLSVersion() method in StandardNames.TLSVersion
|
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/ |
D | tlskdf.go | 31 TLSVersion string `json:"tlsVersion"` member 78 switch group.TLSVersion { 84 return nil, fmt.Errorf("unknown TLS version %q", group.TLSVersion) 98 return nil, fmt.Errorf("hash %q not permitted with TLS version %q", group.Hash, group.TLSVersion)
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 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 [all …]
|
/external/python/cpython3/Lib/ |
D | ssl.py | 158 class TLSVersion(_IntEnum): class 580 return TLSVersion(super().minimum_version) 584 if value == TLSVersion.SSLv3: 590 return TLSVersion(super().maximum_version) 671 version = TLSVersion(version)
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 1045 .. class:: TLSVersion 1052 .. attribute:: TLSVersion.MINIMUM_SUPPORTED 1053 .. attribute:: TLSVersion.MAXIMUM_SUPPORTED 1059 .. attribute:: TLSVersion.SSLv3 1060 .. attribute:: TLSVersion.TLSv1 1061 .. attribute:: TLSVersion.TLSv1_1 1062 .. attribute:: TLSVersion.TLSv1_2 1063 .. attribute:: TLSVersion.TLSv1_3 1934 A :class:`TLSVersion` enum member representing the highest supported 1935 TLS version. The value defaults to :attr:`TLSVersion.MAXIMUM_SUPPORTED`. [all …]
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 199 context.maximum_version = getattr(ssl.TLSVersion, maximum_version) 204 context.minimum_version = getattr(ssl.TLSVersion, minimum_version)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 358 Add TLSVersion constants and SSLContext.maximum_version / minimum_version
|
D | 3.8.0a1.rst | 5952 Add TLSVersion constants and SSLContext.maximum_version / minimum_version
|