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

1 2 3

  /libcore/luni/src/test/java/libcore/java/security/cert/
PKIXParametersTest.java 37 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain());
38 ks.setCertificateEntry("cert", pke.getCertificateChain()[0]);
44 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain());
  /libcore/luni/src/main/java/javax/net/ssl/
X509KeyManager.java 74 public X509Certificate[] getCertificateChain(String alias);
  /libcore/support/src/test/java/libcore/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java 48 public X509Certificate[] getCertificateChain(String alias) {
49 return delegate.getCertificateChain(alias);
TestKeyManager.java 122 public X509Certificate[] getCertificateChain(String alias) {
123 out.print("TestKeyManager.getCertificateChain");
126 return dumpCerts(keyManager.getCertificateChain(alias));
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
KeyManagerImplTest.java 56 assertNull(km.getCertificateChain("alias"));
79 assertTrue(km.getCertificateChain("ssl_test_store") != null);
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
X509ExtendedKeyManagerTest.java 57 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
59 public X509Certificate[] getCertificateChain(String arg0) {
147 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
149 public X509Certificate[] getCertificateChain(String alias) {
  /development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java 203 X509Certificate[] certs = getCertificateChain(alias);
262 private X509Certificate[] getCertificateChain(String alias) {
264 return KeyChain.getCertificateChain(this, alias);
290 return getCertificateChain(getAlias()) != null
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 75 Certificate[] chain = privateKeyEntry.getCertificateChain();
KSPrivateKeyEntryTest.java 142 * Test for <code>getCertificateChain()</code> method Assertion: returns
149 Certificate[] res = ksPKE.getCertificateChain();
KeyStoreTest.java 172 assertEquals(kss[i].getCertificateChain(alias).length, certs.length);
179 assertNull(kss[i].getCertificateChain(alias));
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
X509ExtendedKeyManagerTest.java 73 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
75 public X509Certificate[] getCertificateChain(String alias) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 75 Certificate[] chain = privateKeyEntry.getCertificateChain();
KSPrivateKeyEntryTest.java 136 * Test for <code>getCertificateChain()</code> method Assertion: returns
143 Certificate[] res = ksPKE.getCertificateChain();
KeyStore2Test.java 317 * java.security.KeyStore#getCertificateChain(java.lang.String)
321 // java.security.KeyStore.getCertificateChain(java.lang.String)
330 keyTest.getCertificateChain("anAlias");
343 Certificate[] certRes = keyTest.getCertificateChain("alias2");
344 assertEquals("there are more than two certificate returned from getCertificateChain",
346 assertEquals("the first certificate returned from getCertificateChain is not correct",
348 assertEquals("the second certificate returned from getCertificateChain is not correct",
350 Certificate[] certResNull = keyTest.getCertificateChain("alias1");
351 assertNull("the certificate chain returned from getCertificateChain is NOT null",
355 keyTest.getCertificateChain(null)
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
TrustManagerFactoryTest.java 156 X509Certificate[] chain = (X509Certificate[]) pke.getCertificateChain();
214 X509Certificate[] chain = (X509Certificate[])pke.getCertificateChain();
252 ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.getCertificateChain());
258 trustManager.checkServerTrusted((X509Certificate[]) pke.getCertificateChain(), "RSA");
295 X509Certificate[] chain = (X509Certificate[]) privateKeyEntry.getCertificateChain();
KeyManagerFactoryTest.java 224 assertNull(keyType, km.getCertificateChain(alias));
230 X509Certificate[] certificateChain = km.getCertificateChain(alias);
257 Arrays.<Certificate>asList(privateKeyEntry.getCertificateChain()),
  /libcore/crypto/src/test/java/org/conscrypt/
TrustManagerImplTest.java 73 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain();
106 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain();
120 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain();
141 X509Certificate[] chain3 = (X509Certificate[]) pke.getCertificateChain();
CertPinManagerTest.java 60 chain = (X509Certificate[]) pke.getCertificateChain();
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLUtils.java 223 @Override public abstract X509Certificate[] getCertificateChain(String alias);
269 public X509Certificate[] getCertificateChain(String alias) {
310 certificateChain = KeyChain.getCertificateChain(context, alias);
363 public X509Certificate[] getCertificateChain(String alias) {
  /libcore/crypto/src/main/java/org/conscrypt/
KeyManagerImpl.java 97 public X509Certificate[] getCertificateChain(String alias) {
102 Certificate[] certs = hash.get(alias).getCertificateChain();
154 final Certificate[] chain = entry.getCertificateChain();
  /libcore/luni/src/test/java/libcore/java/security/
KeyStoreTest.java 234 getPrivateKey().getCertificateChain());
273 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain());
288 privateKey.getCertificateChain());
303 privateKey.getCertificateChain());
358 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()),
359 Arrays.asList(privateKey.getCertificateChain()));
393 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()),
622 keyStore.getCertificateChain(null);
632 keyStore.getCertificateChain(null);
640 assertNull(keyStore.getCertificateChain(""));
    [all...]
  /frameworks/base/keystore/java/android/security/
KeyChain.java 63 * <li>Call {@link #getPrivateKey} and {@link #getCertificateChain} to
332 public static X509Certificate[] getCertificateChain(Context context, String alias)
348 .getCertificateChain(toCertificate(certificateBytes));
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainServiceTest.java 161 Certificate intermediate1 = pke1.getCertificateChain()[1];
172 Certificate intermediate2 = pke2.getCertificateChain()[1];
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
SSLClientCertificateRequest.java 39 // KeyChain.getCertificateChain() and KeyChain.getPrivateKey(). Unfortunately, these APIs are
86 chain = KeyChain.getCertificateChain(context, mAlias);
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509KeyManagerImpl.java 200 public X509Certificate[] getCertificateChain(String s) {
203 X509Certificate[] cert = (X509Certificate[]) keyTest.getCertificateChain(s);
215 Certificate[] cert = keyTest.getCertificateChain(s);

Completed in 741 milliseconds

1 2 3