Home
last modified time | relevance | path

Searched refs:keyManagers (Results 1 – 19 of 19) sorted by relevance

/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLContext.java294 KeyManager[] clientKeyManagers = client != null ? client.keyManagers : null; in build()
295 KeyManager[] serverKeyManagers = server != null ? server.keyManagers : null; in build()
310 clientKeyManagers != null ? clientKeyManagers : client.keyManagers; in build()
312 serverKeyManagers != null ? serverKeyManagers : server.keyManagers; in build()
376 public static SSLContext createSSLContext(final String protocol, final KeyManager[] keyManagers, in createSSLContext() argument
380 context.init(keyManagers, trustManagers, new SecureRandom()); in createSSLContext()
DTestKeyManager.java41 public static KeyManager[] wrap(KeyManager[] keyManagers) { in wrap() argument
42 KeyManager[] result = keyManagers.clone(); in wrap()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLContext.java299 KeyManager[] clientKeyManagers = client != null ? client.keyManagers : null; in build()
300 KeyManager[] serverKeyManagers = server != null ? server.keyManagers : null; in build()
315 clientKeyManagers != null ? clientKeyManagers : client.keyManagers; in build()
317 serverKeyManagers != null ? serverKeyManagers : server.keyManagers; in build()
381 public static SSLContext createSSLContext(final String protocol, final KeyManager[] keyManagers, in createSSLContext() argument
385 context.init(keyManagers, trustManagers, new SecureRandom()); in createSSLContext()
DTestKeyManager.java43 public static KeyManager[] wrap(KeyManager[] keyManagers) { in wrap() argument
44 KeyManager[] result = keyManagers.clone(); in wrap()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DKeyManagerFactoryTest.java163 KeyManager[] keyManagers = kmf.getKeyManagers(); in test_KeyManagerFactory_getKeyManagers() local
164 assertNotNull(keyManagers); in test_KeyManagerFactory_getKeyManagers()
165 assertTrue(keyManagers.length > 0); in test_KeyManagerFactory_getKeyManagers()
166 for (KeyManager keyManager : keyManagers) { in test_KeyManagerFactory_getKeyManagers()
DSSLContextTest.java375 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
383 sslContext.init(keyManagers, trustManagers, null); in test_SSLContext_init_withEmptyManagerArrays()
412 KeyManager[] keyManagers = new KeyManager[]{new KeyManager() { in test_SSLContext_init_withoutX509()
422 sslContext.init(keyManagers, trustManagers, null); in test_SSLContext_init_withoutX509()
DSSLEngineVersionCompatibilityTest.java911 (X509ExtendedKeyManager) store.keyManagers[0]) { in addServerCertListener()
919 store.keyManagers[0] = tm; in addServerCertListener()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DKeyManagerFactoryTest.java159 KeyManager[] keyManagers = kmf.getKeyManagers(); in test_KeyManagerFactory_getKeyManagers() local
160 assertNotNull(keyManagers); in test_KeyManagerFactory_getKeyManagers()
161 assertTrue(keyManagers.length > 0); in test_KeyManagerFactory_getKeyManagers()
162 for (KeyManager keyManager : keyManagers) { in test_KeyManagerFactory_getKeyManagers()
DSSLContextTest.java371 KeyManager[] keyManagers = new KeyManager[0]; in test_SSLContext_init_withEmptyManagerArrays()
379 sslContext.init(keyManagers, trustManagers, null); in test_SSLContext_init_withEmptyManagerArrays()
408 KeyManager[] keyManagers = new KeyManager[]{new KeyManager() { in test_SSLContext_init_withoutX509()
418 sslContext.init(keyManagers, trustManagers, null); in test_SSLContext_init_withoutX509()
DSSLEngineTest.java179 for (int i = 0; i < testKeyStore.keyManagers.length; i++) { in test_SSLEngine_getSupportedCipherSuites_connect()
180 KeyManager keyManager = testKeyStore.keyManagers[i]; in test_SSLEngine_getSupportedCipherSuites_connect()
192 KeyManager originalKeyManager = testKeyStore.keyManagers[replaceIndex]; in test_SSLEngine_getSupportedCipherSuites_connect()
193 testKeyStore.keyManagers[replaceIndex] = randomPrivateKeyX509ExtendedKeyManager; in test_SSLEngine_getSupportedCipherSuites_connect()
195 testKeyStore.keyManagers[replaceIndex] = originalKeyManager; in test_SSLEngine_getSupportedCipherSuites_connect()
DSSLEngineVersionCompatibilityTest.java911 (X509ExtendedKeyManager) store.keyManagers[0]) { in addServerCertListener()
919 store.keyManagers[0] = tm; in addServerCertListener()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java277 KeyManager[] keyManagers; field in ConscryptSocketTest.Hooks
286 context.engineInit(keyManagers, trustManagers, null); in createContext()
400 serverHooks.keyManagers = kms; in setCertificates()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptSocketTest.java286 KeyManager[] keyManagers; field in ConscryptSocketTest.Hooks
295 context.engineInit(keyManagers, trustManagers, null); in createContext()
409 serverHooks.keyManagers = kms; in setCertificates()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DTestKeyStore.java163 public final KeyManager[] keyManagers; field in TestKeyStore
171 this.keyManagers = createKeyManagers(keyStore, storePassword); in TestKeyStore()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DTestKeyStore.java165 public final KeyManager[] keyManagers; field in TestKeyStore
173 this.keyManagers = createKeyManagers(keyStore, storePassword); in TestKeyStore()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java460 context.init(keyStore.keyManagers, keyStore.trustManagers, null); in initSslContext()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DTestUtils.java466 context.init(keyStore.keyManagers, keyStore.trustManagers, null); in initSslContext()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1705 …cketFactory makeSSLSocketFactory(KeyStore loadedKeyStore, KeyManager[] keyManagers) throws IOExcep… in makeSSLSocketFactory() argument
1711 ctx.init(keyManagers, trustManagerFactory.getTrustManagers(), null); in makeSSLSocketFactory()
/external/guice/extensions/struts2/lib/
Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...