/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | DelegatingSSLSocketFactory.java | 23 import javax.net.ssl.SSLSocket; 38 @Override public SSLSocket createSocket() throws IOException { in createSocket() 39 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(); in createSocket() 43 @Override public SSLSocket createSocket(String host, int port) throws IOException { in createSocket() 44 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port); in createSocket() 48 @Override public SSLSocket createSocket( in createSocket() 50 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort); in createSocket() 54 @Override public SSLSocket createSocket(InetAddress host, int port) throws IOException { in createSocket() 55 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port); in createSocket() 59 @Override public SSLSocket createSocket( in createSocket() [all …]
|
D | ConnectionSpecTest.java | 22 import javax.net.ssl.SSLSocket; 87 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_defaultCiphers_noFallbackIndicator() 115 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_defaultCiphers_withFallbackIndicator() 147 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_explicitCiphers() 185 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_missingRequiredCipher() 209 SSLSocket sslSocket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in allEnabledCipherSuites() 228 SSLSocket sslSocket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in allEnabledTlsVersions() 246 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_missingTlsVersion()
|
D | FallbackTestClientSocketFactory.java | 23 import javax.net.ssl.SSLSocket; 43 @Override protected SSLSocket configureSocket(SSLSocket sslSocket) throws IOException { in configureSocket() 49 public TlsFallbackScsvDisabledSSLSocket(SSLSocket socket) { in TlsFallbackScsvDisabledSSLSocket()
|
D | DelegatingSSLSocket.java | 28 import javax.net.ssl.SSLSocket; 33 public abstract class DelegatingSSLSocket extends SSLSocket { 34 protected final SSLSocket delegate; 36 public DelegatingSSLSocket(SSLSocket delegate) { in DelegatingSSLSocket()
|
/external/conscrypt/testing/src/main/java/tests/net/ |
D | DelegatingSSLSocketFactory.java | 21 import javax.net.ssl.SSLSocket; 37 protected SSLSocket configureSocket(SSLSocket socket) throws IOException { in configureSocket() 50 SSLSocket socket = (SSLSocket) mDelegate.createSocket(); in createSocket() 56 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose); in createSocket() 61 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() 67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort); in createSocket() 72 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port); in createSocket() 78 … SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort); in createSocket()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 105 import javax.net.ssl.SSLSocket; 153 (SSLSocket) SSLSocketFactory.getDefault().createSocket()); in test_SSLSocket_defaultConfiguration() 159 SSLSocket ssl = (SSLSocket) sf.createSocket(); in test_SSLSocket_getSupportedCipherSuites_returnsCopies() 239 SSLSocket server = socketPair.server; in test_SSLSocket_getSupportedCipherSuites_connect() 240 SSLSocket client = socketPair.client; in test_SSLSocket_getSupportedCipherSuites_connect() 285 SSLSocket ssl = (SSLSocket) sf.createSocket(); in test_SSLSocket_getEnabledCipherSuites_returnsCopies() 292 SSLSocket ssl = (SSLSocket) sf.createSocket(); in test_SSLSocket_setEnabledCipherSuites_storesCopy() 303 SSLSocket ssl = (SSLSocket) sf.createSocket(); in test_SSLSocket_setEnabledCipherSuites() 334 SSLSocket ssl = (SSLSocket) sf.createSocket(); in test_SSLSocket_getSupportedProtocols_returnsCopies() 341 SSLSocket ssl = (SSLSocket) sf.createSocket(); in test_SSLSocket_getEnabledProtocols_returnsCopies() [all …]
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | ChannelType.java | 31 import javax.net.ssl.SSLSocket; 41 SSLSocket newClientSocket(SSLSocketFactory factory, InetAddress address, int port) in newClientSocket() 52 SSLSocket accept(ServerSocket socket, SSLSocketFactory unused) throws IOException { in accept() 58 SSLSocket newClientSocket(SSLSocketFactory factory, InetAddress address, int port) in newClientSocket() 73 SSLSocket accept(ServerSocket serverSocket, SSLSocketFactory factory) throws IOException { in accept() 84 SSLSocket newClientSocket(SSLSocketFactory factory, InetAddress address, int port) in newClientSocket() 98 SSLSocket accept(ServerSocket serverSocket, SSLSocketFactory factory) throws IOException { in accept() 114 abstract SSLSocket newClientSocket(SSLSocketFactory factory, InetAddress address, int port) in newClientSocket() 117 abstract SSLSocket accept(ServerSocket socket, SSLSocketFactory factory) throws IOException; in accept() 119 private static SSLSocket clientMode(Socket socket) { in clientMode() [all …]
|
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 24 import javax.net.ssl.SSLSocket; 33 public final SSLSocket server; 34 public final SSLSocket client; 35 private TestSSLSocketPair(TestSSLContext c, SSLSocket server, SSLSocket client) { in TestSSLSocketPair() 50 public SSLSocket[] sockets() { in sockets() 51 return new SSLSocket[] {server, client}; in sockets() 131 SSLSocket client = (SSLSocket) context.clientContext.getSocketFactory().createSocket( in create() 133 SSLSocket server = (SSLSocket) context.serverSocket.accept(); in create()
|
D | TestSSLSessions.java | 18 import javax.net.ssl.SSLSocket; 64 SSLSocket ssl = (SSLSocket) sf.createSocket(); in create()
|
D | SSLConfigurationAsserts.java | 32 import javax.net.ssl.SSLSocket; 91 try (SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket()) { in assertSSLSocketFactoryConfigSameAsSSLContext() 100 public static void assertSSLSocketDefaultConfiguration(SSLSocket sslSocket) throws Exception { in assertSSLSocketDefaultConfiguration() 109 SSLSocket sslSocket, SSLContext sslContext) { in assertSSLSocketConfigSameAsSSLContext()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | Conscrypt.java | 30 import javax.net.ssl.SSLSocket; 234 public static boolean isConscrypt(SSLSocket socket) { in isConscrypt() 238 private static AbstractConscryptSocket toConscrypt(SSLSocket socket) { in toConscrypt() 253 public static void setHostname(SSLSocket socket, String hostname) { in setHostname() 262 public static String getHostname(SSLSocket socket) { in getHostname() 270 public static String getHostnameOrIP(SSLSocket socket) { in getHostnameOrIP() 280 public static void setUseSessionTickets(SSLSocket socket, boolean useSessionTickets) { in setUseSessionTickets() 294 public static void setChannelIdEnabled(SSLSocket socket, boolean enabled) { in setChannelIdEnabled() 308 public static byte[] getChannelId(SSLSocket socket) throws SSLException { in getChannelId() 326 public static void setChannelIdPrivateKey(SSLSocket socket, PrivateKey privateKey) { in setChannelIdPrivateKey() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelectorTest.java | 27 import javax.net.ssl.SSLSocket; 48 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableIOException() 61 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableSSLHandshakeException() 76 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in retryableSSLHandshakeException() 95 SSLSocket socket = createSocketWithEnabledProtocols(enabledSocketTlsVersions); in someFallbacksSupported() 122 private SSLSocket createSocketWithEnabledProtocols(TlsVersion... tlsVersions) throws IOException { in createSocketWithEnabledProtocols() 123 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in createSocketWithEnabledProtocols() 128 private static void assertEnabledProtocols(SSLSocket socket, TlsVersion... required) { in assertEnabledProtocols()
|
/external/nist-sip/java/gov/nist/core/net/ |
D | DefaultNetworkLayer.java | 38 import javax.net.ssl.SSLSocket; 105 public SSLSocket createSSLSocket(InetAddress address, int port) in createSSLSocket() 107 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket() 111 public SSLSocket createSSLSocket(InetAddress address, int port, in createSSLSocket() 113 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
|
D | SslNetworkLayer.java | 45 import javax.net.ssl.SSLSocket; 115 public SSLSocket createSSLSocket(InetAddress address, int port) in createSSLSocket() 117 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket() 121 public SSLSocket createSSLSocket(InetAddress address, int port, in createSSLSocket() 123 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
|
D | NetworkLayer.java | 37 import javax.net.ssl.SSLSocket; 121 public SSLSocket createSSLSocket(InetAddress address, int port) throws IOException; in createSSLSocket() 132 …public SSLSocket createSSLSocket(InetAddress address, int port, InetAddress localAddress) throws I… in createSSLSocket()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Platform.java | 36 import javax.net.ssl.SSLSocket; 102 public void configureTlsExtensions(SSLSocket sslSocket, String hostname, in configureTlsExtensions() 110 public void afterHandshake(SSLSocket sslSocket) { in afterHandshake() 114 public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol() 183 Method putMethod = negoClass.getMethod("put", SSLSocket.class, providerClass); in findPlatform() 184 Method getMethod = negoClass.getMethod("get", SSLSocket.class); in findPlatform() 185 Method removeMethod = negoClass.getMethod("remove", SSLSocket.class); in findPlatform() 272 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() 286 @Override public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol() 368 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() [all …]
|
D | ConnectionSpecSelector.java | 30 import javax.net.ssl.SSLSocket; 55 public ConnectionSpec configureSecureSocket(SSLSocket sslSocket) throws IOException { in configureSecureSocket() 135 private boolean isFallbackPossible(SSLSocket socket) { in isFallbackPossible()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | RecordedRequest.java | 28 import javax.net.ssl.SSLSocket; 58 if (socket instanceof SSLSocket) { in RecordedRequest() 59 SSLSocket sslSocket = (SSLSocket) socket; in RecordedRequest()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | RecordedRequest.java | 23 import javax.net.ssl.SSLSocket; 46 this.tlsVersion = socket instanceof SSLSocket in RecordedRequest() 47 ? TlsVersion.forJavaName(((SSLSocket) socket).getSession().getProtocol()) in RecordedRequest()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedServer.java | 32 import javax.net.ssl.SSLSocket; 62 SSLSocket sslSocket = doSsl(socket); in run() 84 private SSLSocket doSsl(Socket socket) throws IOException { in doSsl() 85 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket( in doSsl()
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
D | Platform.java | 30 import javax.net.ssl.SSLSocket; 103 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() 126 public void afterHandshake(SSLSocket sslSocket) { in afterHandshake() 129 public String getSelectedProtocol(SSLSocket socket) { in getSelectedProtocol()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | OpenSSLServerSocketImplTest.java | 33 import javax.net.ssl.SSLSocket; 98 SSLSocket socket = (SSLSocket) socketFactory.createSocket(LOCALHOST, server.port()); in setup()
|
/external/apache-http/android/src/android/net/http/ |
D | CertificateChainValidator.java | 41 import javax.net.ssl.SSLSocket; 110 HttpsConnection connection, SSLSocket sslSocket, String domain) in doHandshakeAndValidateServerCertificates() 265 SSLSocket socket, String errorMessage, String defaultErrorMessage) in closeSocketThrowException() 271 private void closeSocketThrowException(SSLSocket socket, in closeSocketThrowException()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ConnectionSpec.java | 21 import javax.net.ssl.SSLSocket; 128 void apply(SSLSocket sslSocket, boolean isFallback) { in apply() 143 private ConnectionSpec supportedSpec(SSLSocket sslSocket, boolean isFallback) { in supportedSpec() 174 public boolean isCompatible(SSLSocket socket) { in isCompatible()
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | ClientEndpoint.java | 23 import javax.net.ssl.SSLSocket; 31 private final SSLSocket socket;
|