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

1 2 3 4 5

  /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());
  /external/jetty/src/java/org/eclipse/jetty/util/ssl/
AliasedX509KeyManager.java 92 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
94 public X509Certificate[] getCertificateChain(String alias)
96 return _keyManager.getCertificateChain(alias);
AliasedX509ExtendedKeyManager.java 94 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
96 public X509Certificate[] getCertificateChain(String alias)
98 return _keyManager.getCertificateChain(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));
  /libcore/ojluni/src/main/java/javax/net/ssl/
X509KeyManager.java 126 public X509Certificate[] getCertificateChain(String alias);
  /libcore/ojluni/src/main/java/sun/security/validator/
KeyStores.java 107 Certificate[] certs = ks.getCertificateChain(alias);
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
KeyManagerImplTest.java 55 assertNull(km.getCertificateChain("alias"));
78 assertTrue(km.getCertificateChain("ssl_test_store") != null);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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 144 * Test for <code>getCertificateChain()</code> method Assertion: returns
151 Certificate[] res = ksPKE.getCertificateChain();
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
X509ExtendedKeyManagerTest.java 72 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
74 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 226 assertNull(keyType, km.getCertificateChain(alias));
232 X509Certificate[] certificateChain = km.getCertificateChain(alias);
245 Arrays.<Certificate>asList(privateKeyEntry.getCertificateChain()),
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
ClientKeyManager.java 81 public X509Certificate[] getCertificateChain(String alias) {
90 mKeyStore.getCertificateChain(mAliasMap.get(OSUCertType.Client))) {
WiFiKeyManager.java 148 public X509Certificate[] getCertificateChain(String alias) {
151 for (Certificate certificate : mKeyStore.getCertificateChain(alias)) {
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLUtils.java 254 @Override public abstract X509Certificate[] getCertificateChain(String alias);
300 public X509Certificate[] getCertificateChain(String alias) {
341 certificateChain = KeyChain.getCertificateChain(context, alias);
394 public X509Certificate[] getCertificateChain(String alias) {
  /external/conscrypt/src/main/java/org/conscrypt/
KeyManagerImpl.java 100 public X509Certificate[] getCertificateChain(String alias) {
105 Certificate[] certs = hash.get(alias).getCertificateChain();
160 final Certificate[] chain = entry.getCertificateChain();
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyStoreTest.java 270 getPrivateKey().getCertificateChain());
309 ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.getCertificateChain());
324 privateKey.getCertificateChain());
339 privateKey.getCertificateChain());
399 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()),
400 Arrays.asList(privateKey.getCertificateChain()));
434 assertEquals(Arrays.asList(getPrivateKey().getCertificateChain()),
663 keyStore.getCertificateChain(null);
673 keyStore.getCertificateChain(null);
681 assertNull(keyStore.getCertificateChain(""));
    [all...]
  /external/conscrypt/src/test/java/org/conscrypt/
TrustManagerImplTest.java 77 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain();
110 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain();
124 X509Certificate[] chain3 = (X509Certificate[])pke.getCertificateChain();
146 X509Certificate[] chain3 = (X509Certificate[]) pke.getCertificateChain();
169 .getCertificateChain()[1], intermediate, "gugle.com", server), "gugle.com",
  /libcore/luni/src/test/java/tests/targets/security/cert/
CertPathBuilderTestPKIX.java 55 for (Certificate certificate : pke.getCertificateChain()) {

Completed in 3686 milliseconds

1 2 3 4 5