Home
last modified time | relevance | path

Searched refs:getKeyManagers (Results 1 – 12 of 12) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java170 KeyManager[] km = getKeyManagers(); in engineInit()
194 ssl.engineInit(getKeyManagers(), getTrustManagers(), getSecureRandom()); in commonTest_02()
225 spi.engineInit(getKeyManagers(), getTrustManagers(), getSecureRandom()); in getSslParameters()
258 private KeyManager[] getKeyManagers() throws Exception { in getKeyManagers() method in SSLContextSpiTest
262 return kmf.getKeyManagers(); in getKeyManagers()
DSSLServerSocketTest.java395 private KeyManager[] getKeyManagers() throws Exception { in getKeyManagers() method in SSLServerSocketTest
408 return keyManagerFactory.getKeyManagers(); in getKeyManagers()
413 context.init(getKeyManagers(), null, null); in getSSLServerSocket()
420 KeyManager[] keyManagers = getKeyManagers(); in test_creationStressTest()
DKeyManagerFactory1Test.java389 keyMF.getKeyManagers(); in test_Constructor()
408 assertNotNull("Key manager array is null", kmf.getKeyManagers()); in test_getKeyManagers()
410 1, kmf.getKeyManagers().length); in test_getKeyManagers()
452 km = keyMF[i].getKeyManagers(); in test_initLjava_security_KeyStore$C()
473 km = keyMF[i].getKeyManagers(); in test_initLjava_security_KeyStore$C()
DHandshakeCompletedEventTest.java404 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null; in TestServer()
485 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null; in run()
534 private KeyManager[] getKeyManagers(String keys) throws Exception { in getKeyManagers() method in HandshakeCompletedEventTest
546 return keyManagerFactory.getKeyManagers(); in getKeyManagers()
DSSLContext1Test.java461 sslCi.init(kmf.getKeyManagers(), tms, new SecureRandom()); in test_getServerSessionContext()
501 KeyManager[] kms = kmf.getKeyManagers(); in test_getServerSocketFactory()
536 sslCi.init(kmf.getKeyManagers(), tms, new SecureRandom()); in test_getSocketFactory()
584 sslContext.init(kmf.getKeyManagers(), tms, new SecureRandom()); in test_init$Ljavax_net_ssl_KeyManager$Ljavax_net_ssl_TrustManagerLjava_security_SecureRandom()
DSSLSessionTest.java480 KeyManager[] keyManagers = store != null ? getKeyManagers(store) : null; in TestServer()
563 KeyManager[] keyManagers = store != null ? getKeyManagers(store) : null; in run()
622 private KeyManager[] getKeyManagers(KeyStore keyStore) throws Exception { in getKeyManagers() method in SSLSessionTest
627 return keyManagerFactory.getKeyManagers(); in getKeyManagers()
DSSLSocketTest.java539 KeyManager[] keyManagers = provideKeys ? getKeyManagers(keys) : null; in run()
592 private KeyManager[] getKeyManagers(String keys) throws Exception { in getKeyManagers() method in SSLSocketTest
604 return keyManagerFactory.getKeyManagers(); in getKeyManagers()
DKeyManagerFactory2Test.java100 .getKeyManagers()); in checkResult()
DX509KeyManagerTest.java662 manager = (X509KeyManager) factory.getKeyManagers()[0]; in init()
/libcore/ojluni/src/main/java/javax/net/ssl/
DKeyManagerFactory.java304 public final KeyManager[] getKeyManagers() { in getKeyManagers() method in KeyManagerFactory
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java739 KeyManager[] keyManagers = kmf.getKeyManagers(); in getContext()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java182 return TestKeyManager.wrap(kmf.getKeyManagers()); in createKeyManagers()