Home
last modified time | relevance | path

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

/external/conscrypt/repackaged/common/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.java94 import javax.net.ssl.SNIServerName;
1649 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
1669 List<SNIServerName> requestedNames = extendedServerSession.getRequestedServerNames(); in test_SSLSocket_SNIHostName()
1672 SNIServerName serverName = requestedNames.get(0); in test_SSLSocket_SNIHostName()
DSSLEngineVersionCompatibilityTest.java66 import javax.net.ssl.SNIServerName;
795 public boolean matches(SNIServerName sniServerName) { in sniHandlerIsCalledAfterHandshakeAndBeforeServerCert()
/external/conscrypt/common/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.java80 import javax.net.ssl.SNIServerName;
1648 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
1668 List<SNIServerName> requestedNames = extendedServerSession.getRequestedServerNames(); in test_SSLSocket_SNIHostName()
1671 SNIServerName serverName = requestedNames.get(0); in test_SSLSocket_SNIHostName()
DSSLEngineVersionCompatibilityTest.java53 import javax.net.ssl.SNIServerName;
793 public boolean matches(SNIServerName sniServerName) { in sniHandlerIsCalledAfterHandshakeAndBeforeServerCert()
/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/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DJava8PlatformUtil.java27 import javax.net.ssl.SNIServerName;
61 (SNIServerName) new SNIHostName(socket.getHostname()))); in getSSLParameters()
70 (SNIServerName) new SNIHostName(engine.getHostname()))); in getSSLParameters()
75 List<SNIServerName> serverNames = params.getServerNames(); in getSniHostName()
77 for (SNIServerName serverName : serverNames) { in getSniHostName()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DJava8PlatformUtil.java26 import javax.net.ssl.SNIServerName;
60 (SNIServerName) new SNIHostName(socket.getHostname()))); in getSSLParameters()
69 (SNIServerName) new SNIHostName(engine.getHostname()))); in getSSLParameters()
74 List<SNIServerName> serverNames = params.getServerNames(); in getSniHostName()
76 for (SNIServerName serverName : serverNames) { in getSniHostName()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DPlatformTest.java34 import javax.net.ssl.SNIServerName;
70 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Socket()
116 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Engine()
162 List<SNIServerName> names = new ArrayList<>(); in test_setAndGetSSLParameters()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DPlatformTest.java37 import javax.net.ssl.SNIServerName;
72 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Socket()
118 List<SNIServerName> names = new ArrayList<SNIServerName>(); in test_setSSLParameters_Engine()
164 List<SNIServerName> names = new ArrayList<>(); in test_setAndGetSSLParameters()
/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/testing/src/main/java/org/conscrypt/testing/
DFailingSniMatcher.java4 import javax.net.ssl.SNIServerName;
12 public boolean matches(SNIServerName sniServerName) { in matches()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/testing/
DFailingSniMatcher.java5 import javax.net.ssl.SNIServerName;
16 public boolean matches(SNIServerName sniServerName) { in matches()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java55 import javax.net.ssl.SNIServerName;
141 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
143 for (SNIServerName serverName : serverNames) { in setSSLParameters()
158 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
168 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
170 for (SNIServerName serverName : serverNames) { in setSSLParameters()
185 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java63 import javax.net.ssl.SNIServerName;
142 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
144 for (SNIServerName serverName : serverNames) { in setSSLParameters()
159 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
169 List<SNIServerName> serverNames = params.getServerNames(); in setSSLParameters()
171 for (SNIServerName serverName : serverNames) { in setSSLParameters()
186 params.setServerNames(Collections.<SNIServerName>singletonList( in getSSLParameters()
/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()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java54 import javax.net.ssl.SNIServerName;
286 List<SNIServerName> serverNames = (List<SNIServerName>) m_getServerNames.invoke(params); in getSniHostnameFromParams()
288 for (SNIServerName serverName : serverNames) { in getSniHostnameFromParams()
334 Collections.<SNIServerName>singletonList( in setParametersSniHostname()
363 Collections.<SNIServerName>singletonList( in setParametersSniHostname()