OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:trustManagers
(Results
1 - 19
of
19
) sorted by null
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DummySSLServerSocketFactory.java
36
TrustManager[]
trustManagers
) throws KeyManagementException,
38
super(keyManagers,
trustManagers
);
44
TrustManager[]
trustManagers
= { new DummyTrustManager() };
45
return new DummySSLServerSocketFactory(keyManagers,
trustManagers
);
DummySSLSocketFactory.java
36
TrustManager[]
trustManagers
) throws KeyManagementException,
38
super(keyManagers,
trustManagers
);
43
TrustManager[]
trustManagers
= { new DummyTrustManager() };
44
return new DummySSLSocketFactory(keyManagers,
trustManagers
);
SSLServerSocketFactoryWrapper.java
43
TrustManager[]
trustManagers
)
46
sslcontext.init(keyManagers,
trustManagers
, null);
53
TrustManager[]
trustManagers
= { new DummyTrustManager() };
54
return new SSLServerSocketFactoryWrapper(keyManagers,
trustManagers
);
SSLSocketFactoryWrapper.java
52
TrustManager[]
trustManagers
) throws NoSuchAlgorithmException,
58
sslcontext.init(keyManagers,
trustManagers
, null);
65
TrustManager[]
trustManagers
= { new DummyTrustManager() };
66
return new SSLSocketFactoryWrapper(keyManagers,
trustManagers
);
/libcore/support/src/test/java/libcore/javax/net/ssl/
TestTrustManager.java
41
public static TrustManager[] wrap(TrustManager[]
trustManagers
) {
42
TrustManager[] result =
trustManagers
.clone();
TestSSLContext.java
157
createSSLContext(protocol, clientKeyManagers, client.
trustManagers
);
159
createSSLContext(protocol, serverKeyManagers, server.
trustManagers
);
164
client.
trustManagers
[0],
165
server.
trustManagers
[0],
209
final TrustManager[]
trustManagers
)
213
context.init(keyManagers,
trustManagers
, new SecureRandom());
/libcore/luni/src/test/java/libcore/javax/net/ssl/
TrustManagerFactoryTest.java
132
TrustManager[]
trustManagers
= tmf.getTrustManagers();
133
assertNotNull(
trustManagers
);
134
assertTrue(
trustManagers
.length > 0);
135
for (TrustManager trustManager :
trustManagers
) {
234
TrustManager[]
trustManagers
= tmf.getTrustManagers();
235
for (TrustManager trustManager :
trustManagers
) {
298
X509TrustManager trustManager = (X509TrustManager) rootCa.
trustManagers
[0];
SSLContextTest.java
97
// Test the scenario where only a PSKKeyManager is provided and no
TrustManagers
are
141
// Test the scenario where neither X.509 nor PSK KeyManagers or
TrustManagers
are provided.
257
// KeyManagers and
TrustManagers
.
272
// KeyManagers and
TrustManagers
.
291
TrustManager[]
trustManagers
= new TrustManager[0];
298
sslContext.init(keyManagers,
trustManagers
, null);
308
//
TrustManagers
which don't include the X.509 ones.
327
TrustManager[]
trustManagers
= new TrustManager[] {new TrustManager() {}};
334
sslContext.init(keyManagers,
trustManagers
, null);
SSLSocketFactoryTest.java
63
protected void engineInit(KeyManager[] keyManagers, TrustManager[]
trustManagers
,
/frameworks/base/core/tests/coretests/src/android/net/
SSLSessionCacheTest.java
74
protected void engineInit(KeyManager[] keyManagers, TrustManager[]
trustManagers
,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
HandshakeCompletedEventTest.java
407
TrustManager[]
trustManagers
= new TrustManager[] { trustManager };
410
sslContext.init(keyManagers,
trustManagers
, null);
490
TrustManager[]
trustManagers
= new TrustManager[] { trustManager };
493
sslContext.init(keyManagers,
trustManagers
, null);
SSLSessionTest.java
507
TrustManager[]
trustManagers
= new TrustManager[] { trustManager };
510
sslContext.init(keyManagers,
trustManagers
, null);
590
TrustManager[]
trustManagers
= new TrustManager[] { trustManager };
593
clientSslContext.init(keyManagers,
trustManagers
, null);
SSLSocketTest.java
537
TrustManager[]
trustManagers
= new TrustManager[] { trustManager };
540
sslContext.init(keyManagers,
trustManagers
, null);
/frameworks/base/core/java/android/net/http/
HttpsConnection.java
85
TrustManager[]
trustManagers
= new TrustManager[] {
101
sslContext.engineInit(null,
trustManagers
, null);