Home
last modified time | relevance | path

Searched refs:SNIServerName (Results 1 – 18 of 18) sorted by relevance

/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DJava8PlatformUtil.java25 import javax.net.ssl.SNIServerName;
38 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
41 for (SNIServerName serverName : serverNames) { in setSSLParameters()
56 (SNIServerName) new SNIHostName(socket.getHostname()))); in getSSLParameters()
64 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
67 for (SNIServerName serverName : serverNames) { in setSSLParameters()
81 (SNIServerName) new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DJava8PlatformUtil.java24 import javax.net.ssl.SNIServerName;
37 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
40 for (SNIServerName serverName : serverNames) { in setSSLParameters()
55 (SNIServerName) new SNIHostName(socket.getHostname()))); in getSSLParameters()
63 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
66 for (SNIServerName serverName : serverNames) { in setSSLParameters()
80 (SNIServerName) new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLParametersTest.java33 import javax.net.ssl.SNIServerName;
137 ArrayList<SNIServerName> dupeNames = new ArrayList<SNIServerName>(); in test_SSLParameters_setServerNames_duplicatedNameThrows()
153 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_setServerNames_setNull_getNull()
163 p.setServerNames(new ArrayList<SNIServerName>()); in test_SSLParameters_setServerNames_setEmpty_getEmpty()
164 Collection<SNIServerName> actual = p.getServerNames(); in test_SSLParameters_setServerNames_setEmpty_getEmpty()
174 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_getServerNames_unmodifiable()
175 Collection<SNIServerName> actual = p.getServerNames(); in test_SSLParameters_getServerNames_unmodifiable()
DSSLSocketVersionCompatibilityTest.java101 import javax.net.ssl.SNIServerName;
1810 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
1830 List<SNIServerName> requestedNames = extendedServerSession.getRequestedServerNames(); in test_SSLSocket_SNIHostName()
1833 SNIServerName serverName = requestedNames.get(0); in test_SSLSocket_SNIHostName()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLParametersTest.java34 import javax.net.ssl.SNIServerName;
141 ArrayList<SNIServerName> dupeNames = new ArrayList<SNIServerName>(); in test_SSLParameters_setServerNames_duplicatedNameThrows()
157 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_setServerNames_setNull_getNull()
167 p.setServerNames(new ArrayList<SNIServerName>()); in test_SSLParameters_setServerNames_setEmpty_getEmpty()
168 Collection<SNIServerName> actual = p.getServerNames(); in test_SSLParameters_setServerNames_setEmpty_getEmpty()
178 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_getServerNames_unmodifiable()
179 Collection<SNIServerName> actual = p.getServerNames(); in test_SSLParameters_getServerNames_unmodifiable()
DSSLSocketVersionCompatibilityTest.java102 import javax.net.ssl.SNIServerName;
1827 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
1847 List<SNIServerName> requestedNames = extendedServerSession.getRequestedServerNames(); in test_SSLSocket_SNIHostName()
1850 SNIServerName serverName = requestedNames.get(0); in test_SSLSocket_SNIHostName()
/external/conscrypt/common/src/main/java/org/conscrypt/
DJava8ExtendedSSLSession.java23 import javax.net.ssl.SNIServerName;
36 public final List<SNIServerName> getRequestedServerNames() { in getRequestedServerNames()
42 return Collections.singletonList((SNIServerName) new SNIHostName(requestedServerName)); in getRequestedServerNames()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DJava8ExtendedSSLSession.java24 import javax.net.ssl.SNIServerName;
36 public final List<SNIServerName> getRequestedServerNames() { in getRequestedServerNames()
42 return Collections.singletonList((SNIServerName) new SNIHostName(requestedServerName)); in getRequestedServerNames()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DPlatformTest.java28 import javax.net.ssl.SNIServerName;
71 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Socket()
117 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Engine()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DPlatformTest.java29 import javax.net.ssl.SNIServerName;
73 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Socket()
119 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Engine()
/external/conscrypt/android-stub/src/main/java/javax/net/ssl/
DSNIServerName.java22 public class SNIServerName { class
23 protected SNIServerName() { in SNIServerName() method in SNIServerName
DSNIHostName.java22 public final class SNIHostName extends SNIServerName {
DExtendedSSLSession.java33 public List<SNIServerName> getRequestedServerNames() { in getRequestedServerNames()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java52 import javax.net.ssl.SNIServerName;
135 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
137 for (SNIServerName serverName : serverNames) { in setSSLParameters()
152 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
162 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
164 for (SNIServerName serverName : serverNames) { in setSSLParameters()
179 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java51 import javax.net.ssl.SNIServerName;
134 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
136 for (SNIServerName serverName : serverNames) { in setSSLParameters()
151 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
161 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
163 for (SNIServerName serverName : serverNames) { in setSSLParameters()
178 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java51 import javax.net.ssl.SNIServerName;
274 List<SNIServerName> serverNames = (List<SNIServerName>) m_getServerNames.invoke(params); in getSniHostnameFromParams()
276 for (SNIServerName serverName : serverNames) { in getSniHostnameFromParams()
320 Collections.<SNIServerName>singletonList( in setParametersSniHostname()
347 Collections.<SNIServerName>singletonList( in setParametersSniHostname()
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java33 import javax.net.ssl.SNIServerName;
128 Collections.<SNIServerName>singletonList(new SNIHostName(hostname))); in configureTlsExtensions()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java34 import javax.net.ssl.SNIServerName;
132 Collections.<SNIServerName>singletonList(new SNIHostName(hostname))); in configureTlsExtensions()