HomeSort by relevance Sort by last modified time
    Searched defs:SSLContext (Results 1 - 19 of 19) sorted by null

  /libcore/luni/src/main/java/javax/net/ssl/
SSLContext.java 33 public class SSLContext {
35 private static final String SERVICE = "SSLContext";
41 * Default SSLContext that can be replaced with SSLContext.setDefault()
43 private static SSLContext DEFAULT;
46 * Returns the default SSLContext.
50 * SSLContext.getInstance("Default")}, which will already be
57 public static SSLContext getDefault() throws NoSuchAlgorithmException {
60 DEFAULT = SSLContext.getInstance("Default");
67 * Sets the default SSLContext instance as returned by {@lin
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLContext2Test.java 27 import javax.net.ssl.SSLContext;
37 * Tests for SSLContext class constructors and methods
43 private static String srvSSLContext = "SSLContext";
80 private void checkSSLContext(SSLContext sslC)
153 * returns SSLContext object
158 SSLContext.getInstance(null);
165 SSLContext.getInstance(invalidValues[i]);
171 SSLContext sslC;
173 sslC = SSLContext.getInstance(validValues[i]);
174 assertTrue("Not instanceof SSLContext object"
    [all...]
SSLContext1Test.java 32 import javax.net.ssl.SSLContext;
50 * Tests for <code>SSLContext</code> class constructors and methods.
56 private static String srvSSLContext = "SSLContext";
70 private static final String NotSupportedMsg = "There is no suitable provider for SSLContext";
95 protected SSLContext[] createSSLCon() {
100 SSLContext[] sslC = new SSLContext[3];
102 sslC[0] = SSLContext.getInstance(defaultProtocol);
103 sslC[1] = SSLContext.getInstance(defaultProtocol, defaultProvider);
104 sslC[2] = SSLContext.getInstance(defaultProtocol
    [all...]
  /external/chromium/net/socket/
ssl_client_socket_openssl.cc 287 class SSLContext {
289 static SSLContext* GetInstance() { return Singleton<SSLContext>::get(); }
306 friend struct DefaultSingletonTraits<SSLContext>;
308 SSLContext() {
422 SSLContext* context = SSLContext::GetInstance();
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLContextTest.java 24 import javax.net.ssl.SSLContext;
35 SSLContext sslContext = SSLContext.getDefault();
36 assertNotNull(sslContext);
38 sslContext.init(null, null, null);
45 SSLContext.setDefault(null);
49 SSLContext defaultContext = SSLContext.getDefault();
51 SSLContext oldContext = SSLContext.getDefault()
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLContext2Test.java 27 import javax.net.ssl.SSLContext;
35 * Tests for SSLContext class constructors and methods
40 private static String srvSSLContext = "SSLContext";
75 private void checkSSLContext(SSLContext sslC)
148 * returns SSLContext object
153 SSLContext.getInstance(null);
161 SSLContext.getInstance(invalidValues[i]);
167 SSLContext sslC;
169 sslC = SSLContext.getInstance(validValues[i]);
170 assertTrue("Not instanceof SSLContext object", sslC instanceof SSLContext)
    [all...]
SSLContext1Test.java 32 import javax.net.ssl.SSLContext;
47 * Tests for <code>SSLContext</code> class constructors and methods.
52 private static String srvSSLContext = "SSLContext";
74 protected SSLContext[] createSSLCon() {
79 SSLContext[] sslC = new SSLContext[3];
81 sslC[0] = SSLContext.getInstance(defaultProtocol);
82 sslC[1] = SSLContext.getInstance(defaultProtocol, defaultProvider);
83 sslC[2] = SSLContext.getInstance(defaultProtocol,
93 * Test for <code>SSLContext</code> constructor Assertion: return
    [all...]
  /external/chromium_org/net/socket/
ssl_client_socket_openssl.cc 244 class SSLClientSocketOpenSSL::SSLContext {
246 static SSLContext* GetInstance() { return Singleton<SSLContext>::get(); }
263 friend struct DefaultSingletonTraits<SSLContext>;
265 SSLContext() {
322 SSLClientSocketOpenSSL::SSLContext::kDefaultSessionCacheConfig = {
331 SSLClientSocketOpenSSL::SSLContext* context =
332 SSLClientSocketOpenSSL::SSLContext::GetInstance();
649 SSLContext* context = SSLContext::GetInstance()
    [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 102 milliseconds