HomeSort by relevance Sort by last modified time
    Searched refs:setKeyEntry (Results 1 - 25 of 34) sorted by null

1 2

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 107 mockKeyStore.setKeyEntry(null, null, null, null);
113 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[] { certificate });
120 mockKeyStore.setKeyEntry("Alias", key, null, null);
127 mockKeyStore.setKeyEntry("Alias", key, null,
134 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[] { certificate });
140 mockKeyStore.setKeyEntry("Alias1", key, null, null);
141 mockKeyStore.setKeyEntry("Alias2", key, null,
143 mockKeyStore.setKeyEntry("Alias3", key, null, new Certificate[] { certificate });
KeyStore2Test.java 147 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
276 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
307 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
367 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
432 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
456 keyTest.setKeyEntry("alias2", privateKey, pssWord, cert);
530 * @tests java.security.KeyStore#setKeyEntry(java.lang.String, byte[],
539 // java.security.KeyStore.setKeyEntry(java.lang.String, byte [],
550 keyTest.setKeyEntry("alias2", privateKey.getEncoded(), cert);
556 * @tests java.security.KeyStore#setKeyEntry(java.lang.String
    [all...]
KeyStoreTest.java 142 * Test for <code>setKeyEntry(String alias, byte[] key, Certificate[] chain)</code>
161 kss[i].setKeyEntry("proba", null, null);
165 kss[i].setKeyEntry(alias, kk, certs);
172 kss[i].setKeyEntry(alias, kk, null);
259 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null);
  /libcore/luni/src/test/java/libcore/java/security/cert/
PKIXParametersTest.java 37 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain());
44 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain());
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 98 mockKeyStore.setKeyEntry(null, null, null, null);
104 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate});
111 mockKeyStore.setKeyEntry("Alias", key, null, null);
118 mockKeyStore.setKeyEntry("Alias", key, null,
125 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate});
132 mockKeyStore.setKeyEntry("Alias1", key, null, null);
133 mockKeyStore.setKeyEntry("Alias2", key, null,
135 mockKeyStore.setKeyEntry("Alias3", key, null, new Certificate[]{certificate});
KeyStoreTest.java 142 * Test for <code>setKeyEntry(String alias, byte[] key, Certificate[] chain)</code>
161 kss[i].setKeyEntry("proba", null, null);
165 kss[i].setKeyEntry(alias, kk, certs);
172 kss[i].setKeyEntry(alias, kk, null);
260 keyStore.setKeyEntry(alias, secretKey, "pwd".toCharArray(), null);
KeyStore2Test.java 149 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert);
305 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert);
341 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert);
388 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert);
431 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert);
462 keyTest.setKeyEntry("alias2", getPrivateKey(), pssWord, cert);
537 * java.security.KeyStore#setKeyEntry(java.lang.String,
544 // java.security.KeyStore.setKeyEntry(java.lang.String,
554 keyTest.setKeyEntry("alias3", getPrivateKey(), pssWord, cert);
561 keyTest.setKeyEntry("alias3", getPrivateKey(), pssWord, cert)
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
KeyStoreTest.java 238 // KeyStore.setKeyEntry(String,byte[],char[]) implementations
264 ks.setKeyEntry(ALIAS_NO_PASSWORD_PRIVATE,
276 ks.setKeyEntry(ALIAS_NO_PASSWORD_SECRET,
306 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain());
318 ks.setKeyEntry(alias,
334 ks.setKeyEntry(alias,
346 ks.setKeyEntry(alias,
360 ks.setKeyEntry(alias,
790 keyStore.setKeyEntry(null, null, null, null);
800 keyStore.setKeyEntry(null, null, null, null)
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl1Test.java 237 * <code>setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)</code>
238 * <code>setKeyEntry(String alias, byte[] key, Certificate[] chain)</code>
292 kss[i].setKeyEntry("", null, new char[0], new Certificate[0]);
297 kss[i].setKeyEntry("", new byte[0], new Certificate[0]);
701 * <code>setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)</code>
712 * setKeyEntry(..), getKeyEntry(..) and isKeyEntry(..)
715 * setKeyEntry(...) throws KeyStoreException when key or password
720 * setKeyEntry(..) stores used entry, getKey(..) returns it and getCertificateChain(...)
741 kss[i].setKeyEntry("ZZZ", null, pwd, certs);
746 kss[i].setKeyEntry("ZZZ", key, pwd, null)
    [all...]
KeyStore_Impl2Test.java 127 keyS.setKeyEntry(alias, new byte[0], null);
132 keyS.setKeyEntry(alias, null, null);
260 keyS.setKeyEntry(alias, new byte[0], chain);
266 keyS.setKeyEntry(alias, sks, new char[0], chain);
KeyStore_Impl3Test.java 134 kss[i].setKeyEntry(aliases[3], pk, pwd, certs);
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
SslContextBuilder.java 91 keyStore.setKeyEntry("private", keyPair.getPrivate(), password, certificateChain);
  /libcore/luni/src/main/java/java/security/
KeyStore.java 328 public final void setKeyEntry(String alias, Key key, char[] password,
365 public final void setKeyEntry(String alias, byte[] key, Certificate[] chain)
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
SslUtil.java 334 ks.setKeyEntry("test-server", pair.getPrivate(),
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
X509KeyManagerTest.java     [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
TrustManagerFactoryTest.java 252 ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.getCertificateChain());
  /cts/tests/tests/keystore/src/android/keystore/cts/
AndroidKeyStoreTest.java     [all...]
  /frameworks/base/keystore/tests/src/android/security/
AndroidKeyStoreTest.java     [all...]
  /libcore/support/src/test/java/libcore/java/security/
TestKeyStore.java 523 keyStore.setKeyEntry(privateAlias, privateKey, keyPassword, x509cc);
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/20/
android.jar 

Completed in 1413 milliseconds

1 2