/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 37 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 …]
|
D | TestKeyManager.java | 25 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/ |
D | X509KeyManagerTest.java | 19 import javax.net.ssl.KeyManager; 62 KeyManager[] managers = kmf.getKeyManagers(); in test_ChooseClientAlias_KeyType() 63 for (KeyManager manager : managers) { in test_ChooseClientAlias_KeyType()
|
D | SSLContextTest.java | 35 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()
|
D | PSKKeyManagerProxy.java | 24 import javax.net.ssl.KeyManager; 33 static KeyManager getConscryptPSKKeyManager(PSKKeyManagerProxy delegate) { in getConscryptPSKKeyManager() 40 return (KeyManager) Proxy.newProxyInstance( in getConscryptPSKKeyManager()
|
D | SSLEngineTest.java | 31 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()
|
D | KeyManagerFactoryTest.java | 30 import javax.net.ssl.KeyManager; 131 KeyManager[] keyManagers = kmf.getKeyManagers(); in test_KeyManagerFactory_getKeyManagers() 134 for (KeyManager keyManager : keyManagers) { in test_KeyManagerFactory_getKeyManagers()
|
D | SSLSocketFactoryTest.java | 33 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/ |
D | KeyManagerFactorySpiImpl.java | 9 import javax.net.ssl.KeyManager; 43 public KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
|
D | SSLContextSpiImpl.java | 6 import javax.net.ssl.KeyManager; 21 public void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
|
D | MyKeyManagerFactorySpi.java | 26 import javax.net.ssl.KeyManager; 66 protected KeyManager[] engineGetKeyManagers() { in engineGetKeyManagers()
|
D | MySSLContextSpi.java | 23 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/ |
D | KeyManagerFactorySpiTest.java | 23 import javax.net.ssl.KeyManager; 121 KeyManager[] km = kmf.engineGetKeyManagers(); in test_engineGetKeyManagers() 133 KeyManager[] km = kmf.engineGetKeyManagers(); in test_engineGetKeyManagers()
|
D | SSLContextSpiTest.java | 24 import javax.net.ssl.KeyManager; 162 KeyManager[] km = kmf.getKeyManagers(); in test_engineInit() 201 KeyManager[] km = kmf.getKeyManagers(); in test_commonTest_02()
|
D | SSLContext2Test.java | 26 import javax.net.ssl.KeyManager; 115 KeyManager [] km = new KManager[5]; in checkSSLContext() 290 class KManager implements KeyManager {
|
D | SSLServerSocketTest.java | 30 import javax.net.ssl.KeyManager; 391 private KeyManager[] getKeyManagers() throws Exception { in getKeyManagers() 416 KeyManager[] keyManagers = getKeyManagers(); in test_creationStressTest()
|
D | HandshakeCompletedEventTest.java | 31 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()
|
D | SSLSessionTest.java | 32 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/ |
D | KeyManager.java | 43 public interface KeyManager { interface
|
D | KeyManagerFactorySpi.java | 84 protected abstract KeyManager[] engineGetKeyManagers(); in engineGetKeyManagers()
|
D | X509KeyManager.java | 53 public interface X509KeyManager extends KeyManager {
|
D | SSLContextSpi.java | 51 protected abstract void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
|
D | KeyManagerFactory.java | 304 public final KeyManager[] getKeyManagers() { in getKeyManagers()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MySSLContextSpi.java | 23 import javax.net.ssl.KeyManager; 45 protected void engineInit(KeyManager[] km, TrustManager[] tm, in engineInit()
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
D | ListProviders.java | 30 import javax.net.ssl.KeyManager; 139 new KeyManager[] {new PskKeyManager(){}}, in main()
|