Home
last modified time | relevance | path

Searched refs:KeyManager (Results 1 – 25 of 33) sorted by relevance

12

/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java37 import javax.net.ssl.KeyManager;
92 public final KeyManager[] clientKeyManagers;
93 public final KeyManager[] serverKeyManagers;
207 KeyManager[] clientKeyManagers, in TestSSLContext()
208 KeyManager[] serverKeyManagers, in TestSSLContext()
262 KeyManager[] additionalClientKeyManagers, KeyManager[] additionalServerKeyManagers) { in createWithAdditionalKeyManagers()
264 KeyManager[] clientKeyManagers = concat(client.keyManagers, additionalClientKeyManagers); in createWithAdditionalKeyManagers()
265 KeyManager[] serverKeyManagers = concat(server.keyManagers, additionalServerKeyManagers); in createWithAdditionalKeyManagers()
285 KeyManager[] clientKeyManagers, in create()
286 KeyManager[] serverKeyManagers, in create()
[all …]
DTestKeyManager.java25 import javax.net.ssl.KeyManager;
43 public static KeyManager[] wrap(KeyManager[] keyManagers) { in wrap()
44 KeyManager[] result = keyManagers.clone(); in wrap()
51 public static KeyManager wrap(KeyManager keyManager) { in wrap()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DX509KeyManagerTest.java19 import javax.net.ssl.KeyManager;
62 KeyManager[] managers = kmf.getKeyManagers(); in test_ChooseClientAlias_KeyType()
63 for (KeyManager manager : managers) { in test_ChooseClientAlias_KeyType()
DSSLContextTest.java35 import javax.net.ssl.KeyManager;
102 new KeyManager[] { in test_SSLContext_pskOnlyConfiguration_defaultProviderOnly()
117 new KeyManager[] { in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
132 new KeyManager[] { in test_SSLContext_x509AndPskConfiguration_defaultProviderOnly()
145 new KeyManager[0], in test_SSLContext_emptyConfiguration_defaultProviderOnly()
265 sslContext.init(new KeyManager[0], new TrustManager[0], null); in test_SSLContext_init_Default()
270 new KeyManager[] {new KeyManager() {}}, in test_SSLContext_init_Default()
312 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
348 KeyManager[] keyManagers = new KeyManager[] {new KeyManager() {}}; in test_SSLContext_init_withoutX509()
412 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
DPSKKeyManagerProxy.java24 import javax.net.ssl.KeyManager;
33 static KeyManager getConscryptPSKKeyManager(PSKKeyManagerProxy delegate) { in getConscryptPSKKeyManager()
40 return (KeyManager) Proxy.newProxyInstance( in getConscryptPSKKeyManager()
DSSLEngineTest.java31 import javax.net.ssl.KeyManager;
125 KeyManager pskKeyManager = PSKKeyManagerProxy.getConscryptPSKKeyManager( in test_SSLEngine_getSupportedCipherSuites_connect()
134 new KeyManager[] {pskKeyManager}, new KeyManager[] {pskKeyManager}); in test_SSLEngine_getSupportedCipherSuites_connect()
145 KeyManager randomPrivateKeyX509ExtendedKeyManager = null; in test_SSLEngine_getSupportedCipherSuites_connect()
146 for (KeyManager keyManager : c.serverKeyManagers) { in test_SSLEngine_getSupportedCipherSuites_connect()
160 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
172 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
DKeyManagerFactoryTest.java30 import javax.net.ssl.KeyManager;
131 KeyManager[] keyManagers = kmf.getKeyManagers(); in test_KeyManagerFactory_getKeyManagers()
134 for (KeyManager keyManager : keyManagers) { in test_KeyManagerFactory_getKeyManagers()
DSSLSocketFactoryTest.java33 import javax.net.ssl.KeyManager;
63 protected void engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, in engineInit()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DKeyManagerFactorySpiImpl.java9 import javax.net.ssl.KeyManager;
43 public KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
DSSLContextSpiImpl.java6 import javax.net.ssl.KeyManager;
21 public void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
DMyKeyManagerFactorySpi.java26 import javax.net.ssl.KeyManager;
66 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
DMySSLContextSpi.java23 import javax.net.ssl.KeyManager;
43 protected void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactorySpiTest.java23 import javax.net.ssl.KeyManager;
121 KeyManager[] km = kmf.engineGetKeyManagers(); in test_engineGetKeyManagers()
133 KeyManager[] km = kmf.engineGetKeyManagers(); in test_engineGetKeyManagers()
DSSLContextSpiTest.java24 import javax.net.ssl.KeyManager;
162 KeyManager[] km = kmf.getKeyManagers(); in test_engineInit()
201 KeyManager[] km = kmf.getKeyManagers(); in test_commonTest_02()
DSSLContext2Test.java26 import javax.net.ssl.KeyManager;
115 KeyManager [] km = new KManager[5]; in checkSSLContext()
290 class KManager implements KeyManager {
DSSLServerSocketTest.java30 import javax.net.ssl.KeyManager;
391 private KeyManager[] getKeyManagers() throws Exception { in getKeyManagers()
416 KeyManager[] keyManagers = getKeyManagers(); in test_creationStressTest()
DHandshakeCompletedEventTest.java31 import javax.net.ssl.KeyManager;
404 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null; in TestServer()
487 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null; in run()
537 private KeyManager[] getKeyManagers(String keys) throws Exception { in getKeyManagers()
DSSLSessionTest.java32 import javax.net.ssl.KeyManager;
517 KeyManager[] keyManagers = store != null ? getKeyManagers(store) : null; in TestServer()
600 KeyManager[] keyManagers = store != null ? getKeyManagers(store) : null; in run()
659 private KeyManager[] getKeyManagers(KeyStore keyStore) throws Exception { in getKeyManagers()
/libcore/ojluni/src/main/java/javax/net/ssl/
DKeyManager.java43 public interface KeyManager { interface
DKeyManagerFactorySpi.java84 protected abstract KeyManager[] engineGetKeyManagers(); in engineGetKeyManagers()
DX509KeyManager.java53 public interface X509KeyManager extends KeyManager {
DSSLContextSpi.java51 protected abstract void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
DKeyManagerFactory.java304 public final KeyManager[] getKeyManagers() { in getKeyManagers()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java23 import javax.net.ssl.KeyManager;
45 protected void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java30 import javax.net.ssl.KeyManager;
139 new KeyManager[] {new PskKeyManager(){}}, in main()

12