/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
KeyManagerFactoryImplTest.java | 41 KeyManagerFactoryImpl kmf = new KeyManagerFactoryImpl(); local 42 kmf.engineInit(null, null); 47 kmf.engineInit(null, null); 64 KeyManagerFactoryImpl kmf = new KeyManagerFactoryImpl(); local 66 kmf.engineInit(null); 74 KeyManagerFactoryImpl kmf = new KeyManagerFactoryImpl(); local 76 kmf.engineGetKeyManagers(); 84 kmf.engineInit(ks, null); 86 KeyManager[] kma = kmf.engineGetKeyManagers();
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
KeyManagerFactorySpiTest.java | 38 KeyManagerFactorySpiImpl kmf = new KeyManagerFactorySpiImpl(); local 39 assertTrue(kmf instanceof KeyManagerFactorySpi); 49 KeyManagerFactorySpiImpl kmf = new KeyManagerFactorySpiImpl(); local 54 kmf.engineInit(null, null); 63 kmf.engineInit(null, psw); 73 kmf.engineInit(ks, null); 84 kmf.engineInit(kst, psw); 94 KeyManagerFactorySpiImpl kmf = new KeyManagerFactorySpiImpl(); local 97 kmf.engineInit(null); 108 kmf.engineInit(pr) 118 KeyManagerFactorySpiImpl kmf = new KeyManagerFactorySpiImpl(); local [all...] |
SSLContextSpiTest.java | 159 KeyManagerFactory kmf = KeyManagerFactory.getInstance(defaultAlgorithm); local 161 kmf.init(null, pass); 162 KeyManager[] km = kmf.getKeyManagers(); 198 KeyManagerFactory kmf = KeyManagerFactory.getInstance(defaultAlgorithm); local 200 kmf.init(null, pass); 201 KeyManager[] km = kmf.getKeyManagers();
|
SSLContext1Test.java | 454 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); local 455 kmf.init(null, new char[11]); 461 sslCi.init(kmf.getKeyManagers(), tms, new SecureRandom()); 493 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); local 500 kmf.init(ks, new char[10]); 501 KeyManager[] kms = kmf.getKeyManagers(); 529 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); local 530 kmf.init(null, new char[11]); 536 sslCi.init(kmf.getKeyManagers(), tms, new SecureRandom()); 578 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg) local [all...] |
KeyManagerFactory1Test.java | 83 KeyManagerFactory[] kMF = new KeyManagerFactory[3]; 85 kMF[0] = KeyManagerFactory.getInstance(defaultAlgorithm); 86 kMF[1] = KeyManagerFactory.getInstance(defaultAlgorithm, 88 kMF[2] = KeyManagerFactory.getInstance(defaultAlgorithm, 90 return kMF; 280 KeyManagerFactory kMF; 282 kMF = KeyManagerFactory.getInstance(validValues[i], 284 assertNotNull("No KeyManagerFactory created", kMF); 285 assertEquals("Incorrect algorithm", kMF.getAlgorithm(), 287 assertEquals("Incorrect provider", kMF.getProvider().getName() 405 KeyManagerFactory kmf = KeyManagerFactory.getInstance(defaultAlgorithm); local 509 KeyManagerFactory kmf = KeyManagerFactory.getInstance(defaultAlgorithm); local [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 58 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); local 59 test_KeyManagerFactory(kmf); 77 private void test_KeyManagerFactory(KeyManagerFactory kmf) throws Exception { 78 assertNotNull(kmf); 79 assertNotNull(kmf.getAlgorithm()); 80 assertNotNull(kmf.getProvider()); 84 kmf.getKeyManagers(); 91 kmf.init(null); 98 kmf.init(new UselessManagerFactoryParameters()); 107 if (supportsManagerFactoryParameters(kmf.getAlgorithm())) 276 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); local 282 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm, local 290 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm, local [all...] |
X509KeyManagerTest.java | 57 KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory local 59 kmf.init(client.keyStore, client.keyPassword); 62 KeyManager[] managers = kmf.getKeyManagers();
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/provider/jsse/ |
JSSETestData.java | 53 KeyManagerFactory kmf = KeyManagerFactory.getInstance("X509"); typedefs 54 kmf.init(keyStore, KS_PASSWORD); 59 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf 64 context.init(kmf.getKeyManagers(),
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServer.java | 63 KeyManagerFactory kmf = KeyManagerFactory local 72 kmf.init(ks, KeyChainDemoActivity.PKCS12_PASSWORD.toCharArray()); 75 sslContext.init(kmf.getKeyManagers(), null, null);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHandshakeImplTest.java | 47 KeyManagerFactory kmf = KeyManagerFactory.getInstance("X509"); local 48 kmf.init(ks, pwd); 53 sslParameters = new SSLParameters(kmf.getKeyManagers(), tmf
|
/libcore/crypto/src/main/java/org/conscrypt/ |
DefaultSSLContextImpl.java | 87 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfAlg); local 88 kmf.init(ks, pwd); 89 KEY_MANAGERS = kmf.getKeyManagers();
|
SSLParametersImpl.java | 362 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); local 363 kmf.init(null, null); 364 KeyManager[] kms = kmf.getKeyManagers();
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 193 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfAlgoritm); local 194 kmf.init(serverKeyStore, serverKeyStorePassword); 196 serverContext.init(kmf.getKeyManagers(),
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLContext1Test.java | 363 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kAlg); local 365 kmf.init(ks, new char[10]); 366 KeyManager[] kms = kmf.getKeyManagers();
|
/external/smack/src/org/jivesoftware/smack/ |
XMPPConnection.java | 854 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); local 857 kmf.init(ks,null); 859 kmf.init(ks,pcb.getPassword()); 862 kms = kmf.getKeyManagers() [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
SSLSocketTest.java | 321 KeyManagerFactory kmf = KeyManagerFactory.getInstance("X509"); local 324 assertEquals("X509", kmf.getAlgorithm()); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 853 KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 682 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfAlgorithm); local 683 kmf.init(ks, KS_PASSWORD.toCharArray()); 684 KeyManager[] keyManagers = kmf.getKeyManagers(); [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 120 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfa); local 121 kmf.init(keyStore, storePassword); 122 return TestKeyManager.wrap(kmf.getKeyManagers()); [all...] |