HomeSort by relevance Sort by last modified time
    Searched defs:kmf (Results 1 - 25 of 27) sorted by null

1 2

  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
X509KeyManagerTest.java 62 KeyManagerFactory kmf = local
64 kmf.init(client.keyStore, client.keyPassword);
67 KeyManager[] managers = kmf.getKeyManagers();
KeyManagerFactoryTest.java 73 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); local
74 test_KeyManagerFactory(kmf);
91 private void test_KeyManagerFactory(KeyManagerFactory kmf) throws Exception {
92 assertNotNull(kmf);
93 assertNotNull(kmf.getAlgorithm());
94 assertNotNull(kmf.getProvider());
98 kmf.getKeyManagers();
106 kmf.init(null);
114 kmf.init(new UselessManagerFactoryParameters());
124 if (supportsManagerFactoryParameters(kmf.getAlgorithm()))
282 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); local
288 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm, provider); local
295 KeyManagerFactory kmf = local
    [all...]
  /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);
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/
Server.java 89 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); local
90 kmf.init(ks, passphrase);
96 sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/server/
Server.java 89 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); local
90 kmf.init(ks, passphrase);
96 sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
  /external/conscrypt/common/src/main/java/org/conscrypt/
DefaultSSLContextImpl.java 88 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfAlg); local
89 kmf.init(ks, pwd);
90 KEY_MANAGERS = kmf.getKeyManagers();
SSLParametersImpl.java 456 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); local
457 kmf.init(null, null);
458 KeyManager[] kms = kmf.getKeyManagers();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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...]
  /cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DownloadManagerTest.java 169 KeyManagerFactory kmf = local
171 kmf.init(ks, null);
173 context.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
  /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(),
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java 314 KeyManagerFactory kmf = KeyManagerFactory.getInstance( local
316 kmf.init(mKeyStore, EMPTY_PASSWORD);
318 serverContext.init(kmf.getKeyManagers(),
  /cts/tests/tests/security/src/android/security/cts/
SSLConscryptPlainTextExposureTest.java 140 KeyManagerFactory kmf = null; local
142 kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
148 kmf.init(ks, "keypass".toCharArray());
173 sslCtx.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
538 KeyManagerFactory kmf = null; local
540 kmf = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
545 kmf.init(ks, "keypass".toCharArray());
570 sslCtx.init(kmf.getKeyManagers(), tmf.getTrustManagers(), new SecureRandom());
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
ConscryptSocketTest.java 353 KeyManagerFactory kmf = local
355 kmf.init(ks, EMPTY_PASSWORD);
356 KeyManager[] kms = kmf.getKeyManagers();
  /external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
TestKeyStore.java 183 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfa); local
184 kmf.init(keyStore, storePassword);
185 return TestKeyManager.wrap(kmf.getKeyManagers());
    [all...]
  /libcore/support/src/test/java/libcore/java/security/
TestKeyStore.java 180 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfa); local
181 kmf.init(keyStore, storePassword);
182 return TestKeyManager.wrap(kmf.getKeyManagers());
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java 737 KeyManagerFactory kmf = KeyManagerFactory.getInstance(kmfAlgorithm); local
738 kmf.init(ks, KS_PASSWORD.toCharArray());
739 KeyManager[] keyManagers = kmf.getKeyManagers();
    [all...]
  /prebuilts/tools/common/m2/repository/io/netty/netty-handler/4.1.0.CR3/
netty-handler-4.1.0.CR3.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-handler/4.1.3.Final/
netty-handler-4.1.3.Final.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-handler/4.1.6.Final/
netty-handler-4.1.6.Final.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-r1.jar 
android-all-7.1.0_r7-robolectric-r1.jar 
android-all-8.0.0_r4-robolectric-r1.jar 

Completed in 3304 milliseconds

1 2