/frameworks/base/core/tests/coretests/src/android/net/ |
SSLTest.java | 32 Socket ssl = SSLCertificateSocketFactory.getDefault().createSocket("www.fortify.net",443); local 33 assertNotNull(ssl); 35 OutputStream out = ssl.getOutputStream(); 38 InputStream in = ssl.getInputStream();
|
/libcore/luni/src/main/java/javax/net/ssl/ |
HandshakeCompletedEvent.java | 18 package javax.net.ssl; 26 * The event object encapsulating the information about a completed SSL 27 * handshake on a SSL connection. 34 * Creates a new {@code HandshakeCompletedEvent} with the specified SSL 35 * socket and SSL session. 38 * the SSL socket. 40 * the SSL session. 48 * Returns the SSL session associated with this event. 50 * @return the SSL session associated with this event. 126 * Returns the SSL socket that produced this event [all...] |
SSLParameters.java | 17 package javax.net.ssl; 20 * SSL handshake parameters that include protocols, cipher suites, and
|
SSLServerSocketFactory.java | 18 package javax.net.ssl; 25 * The factory for SSL server sockets. 30 // The default SSL socket factory 38 * "ssl.ServerSocketFactory.provider". 47 defaultName = Security.getProperty("ssl.ServerSocketFactory.provider"); 94 * SSL connection created by this factory.
|
SSLSocketFactory.java | 18 package javax.net.ssl; 32 // The default SSL socket factory 39 * defined by the security property {@code 'ssl.SocketFactory.provider'}. 41 * @return the default ssl socket factory instance. 48 defaultName = Security.getProperty("ssl.SocketFactory.provider"); 96 * enabled for an SSL connection. 116 * @return the creates ssl socket.
|
SSLServerSocket.java | 18 package javax.net.ssl; 26 * based on protocols like SSL, TLS, or others. 216 * Sets whether new SSL sessions may be established for new connections. 219 * {@code true} if new SSL sessions may be established, 220 * {@code false} if existing SSL sessions must be reused. 225 * Returns whether new SSL sessions may be established for new connections. 227 * @return {@code true} if new SSL sessions may be established, 228 * {@code false} if existing SSL sessions must be reused.
|
TrustManagerFactory.java | 18 package javax.net.ssl; 41 private static final String PROPERTYNAME = "ssl.TrustManagerFactory.algorithm"; 46 * {@code 'ssl.TrustManagerFactory.algorithm'}.
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
CertPathTrustManagerParametersTest.java | 18 package tests.api.javax.net.ssl; 21 import javax.net.ssl.CertPathTrustManagerParameters; 33 * javax.net.ssl.CertPathTrustManagerParameters# 60 * javax.net.ssl.CertPathTrustManagerParameters#getParameters()
|
SSLEngineResultHandshakeStatusTest.java | 17 package tests.api.javax.net.ssl; 19 import javax.net.ssl.SSLEngineResult;
|
SSLEngineResultStatusTest.java | 17 package tests.api.javax.net.ssl; 19 import javax.net.ssl.SSLEngineResult;
|
SSLHandshakeExceptionTest.java | 16 package tests.api.javax.net.ssl; 18 import javax.net.ssl.SSLHandshakeException;
|
SSLKeyExceptionTest.java | 16 package tests.api.javax.net.ssl; 18 import javax.net.ssl.SSLKeyException;
|
SSLPeerUnverifiedExceptionTest.java | 16 package tests.api.javax.net.ssl; 18 import javax.net.ssl.SSLPeerUnverifiedException;
|
SSLProtocolExceptionTest.java | 16 package tests.api.javax.net.ssl; 18 import javax.net.ssl.SSLProtocolException;
|
SSLSessionBindingListenerTest.java | 18 package tests.api.javax.net.ssl; 20 import javax.net.ssl.SSLServerSocket; 21 import javax.net.ssl.SSLServerSocketFactory; 22 import javax.net.ssl.SSLSession; 23 import javax.net.ssl.SSLSessionBindingEvent; 24 import javax.net.ssl.SSLSessionBindingListener; 25 import javax.net.ssl.SSLSocket; 26 import javax.net.ssl.SSLSocketFactory; 59 * javax.net.ssl.SSLSessionBindingListener#valueBound(SSLSessionBindingEvent event) 74 * javax.net.ssl.SSLSessionBindingListener#valueUnbound(SSLSessionBindingEvent event [all...] |
SSLEngineResultTest.java | 18 package tests.api.javax.net.ssl; 20 import javax.net.ssl.SSLEngineResult;
|
SSLServerSocketFactoryTest.java | 17 package tests.api.javax.net.ssl; 23 import javax.net.ssl.SSLServerSocketFactory; 63 * javax.net.ssl.SSLServerSocketFactory#SSLServerSocketFactory() 74 * javax.net.ssl.SSLServerSocketFactory#getDefault() 82 * javax.net.ssl.SSLServerSocketFactory#getDefaultCipherSuites() 95 * javax.net.ssl.SSLServerSocketFactory#getSupportedCipherSuites()
|
SSLSessionContextTest.java | 1 package tests.api.javax.net.ssl; 5 import javax.net.ssl.SSLContext; 6 import javax.net.ssl.SSLSessionContext; 19 * javax.net.ssl.SSLSessionContex#getSessionCacheSize() 20 * javax.net.ssl.SSLSessionContex#setSessionCacheSize(int size) 43 * javax.net.ssl.SSLSessionContex#getSessionTimeout() 44 * javax.net.ssl.SSLSessionContex#setSessionTimeout(int seconds) 67 * javax.net.ssl.SSLSessionContex#getSession(byte[] sessionId) 85 * javax.net.ssl.SSLSessionContex#getIds()
|
X509ExtendedKeyManagerTest.java | 18 package tests.api.javax.net.ssl; 25 import javax.net.ssl.X509ExtendedKeyManager; 41 * @see javax.net.ssl.X509KeyManager#chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket) 49 * @see javax.net.ssl.X509KeyManager#chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket) 57 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String) 65 * @see javax.net.ssl.X509KeyManager#getClientAliases(java.lang.String, java.security.Principal[]) 73 * @see javax.net.ssl.X509KeyManager#getPrivateKey(java.lang.String) 81 * @see javax.net.ssl.X509KeyManager#getServerAliases(java.lang.String, java.security.Principal[]) 90 * javax.net.ssl.X509ExtendedKeyManager#X509ExtendedKeyManager() 101 * javax.net.ssl.X509ExtendedKeyManage [all...] |
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 29 import javax.net.ssl.HostnameVerifier; 30 import javax.net.ssl.HttpsURLConnection; 31 import javax.net.ssl.KeyManager; 32 import javax.net.ssl.SSLException; 33 import javax.net.ssl.SSLPeerUnverifiedException; 34 import javax.net.ssl.SSLSession; 35 import javax.net.ssl.SSLSocket; 36 import javax.net.ssl.SSLSocketFactory; 37 import javax.net.ssl.TrustManager; 38 import javax.net.ssl.X509TrustManager 190 SSLSocket ssl = (SSLSocket) socket; local [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 18 package org.apache.harmony.xnet.tests.javax.net.ssl; 25 import javax.net.ssl.X509ExtendedKeyManager; 55 * @see javax.net.ssl.X509KeyManager#chooseClientAlias(java.lang.String[], 64 * @see javax.net.ssl.X509KeyManager#chooseServerAlias(java.lang.String, 73 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String) 80 * @see javax.net.ssl.X509KeyManager#getClientAliases(java.lang.String, 88 * @see javax.net.ssl.X509KeyManager#getServerAliases(java.lang.String, 96 * @see javax.net.ssl.X509KeyManager#getPrivateKey(java.lang.String)
|
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/ |
SSLServerSocketFactoryTest.java | 22 package javax.net.ssl; 45 String defaultName = Security.getProperty("ssl.ServerSocketFactory.provider");
|
SSLSocketFactoryTest.java | 22 package javax.net.ssl; 45 String defaultName = Security.getProperty("ssl.SocketFactory.provider");
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
SSLContextSpiTests.java | 22 package javax.net.ssl; 27 import javax.net.ssl.SSLContextSpi;
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestTrustManager.java | 17 package libcore.javax.net.ssl; 20 import javax.net.ssl.TrustManager; 21 import javax.net.ssl.X509TrustManager;
|