Searched refs:getCertificateChain (Results 1 - 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/security/cert/
H A DPKIXParametersTest.java37 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/support/src/test/java/libcore/javax/net/ssl/
H A DForwardingX509ExtendedKeyManager.java48 public X509Certificate[] getCertificateChain(String alias) { method in class:ForwardingX509ExtendedKeyManager
49 return delegate.getCertificateChain(alias);
H A DTestKeyManager.java122 public X509Certificate[] getCertificateChain(String alias) { method in class:TestKeyManager
123 out.print("TestKeyManager.getCertificateChain");
126 return dumpCerts(keyManager.getCertificateChain(alias));
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DX509KeyManager.java126 public X509Certificate[] getCertificateChain(String alias); method in interface:X509KeyManager
/libcore/ojluni/src/main/java/sun/security/validator/
H A DKeyStores.java107 Certificate[] certs = ks.getCertificateChain(alias);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DX509ExtendedKeyManagerTest.java57 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
59 public X509Certificate[] getCertificateChain(String arg0) { method in class:X509ExtendedKeyManagerTest.MockX509ExtendedKeyManager
147 * @see javax.net.ssl.X509KeyManager#getCertificateChain(java.lang.String)
149 public X509Certificate[] getCertificateChain(String alias) { method in class:MyX509ExtendedKeyManager
H A DX509KeyManagerTest.java720 * X509KeyManager#getCertificateChain(String alias)
724 assertNull("Not NULL for NULL parameter", manager.getCertificateChain(null));
725 assertNull("Not NULL for empty parameter",manager.getCertificateChain(""));
726 assertNull("Not NULL for clientAlias_01 parameter", manager.getCertificateChain("clientAlias_01"));
727 assertNull("Not NULL for serverAlias_00 parameter", manager.getCertificateChain("serverAlias_00"));
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStorePrivateKeyEntryTest.java75 Certificate[] chain = privateKeyEntry.getCertificateChain();
H A DKSPrivateKeyEntryTest.java136 * Test for <code>getCertificateChain()</code> method Assertion: returns
143 Certificate[] res = ksPKE.getCertificateChain();
H A DKeyStore2Test.java317 * 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(nul
[all...]
H A DKeyStoreTest.java171 assertEquals(kss[i].getCertificateChain(alias).length, certs.length);
178 assertNull(kss[i].getCertificateChain(alias));
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DTrustManagerFactoryTest.java156 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();
H A DKeyManagerFactoryTest.java226 assertNull(keyType, km.getCertificateChain(alias));
232 X509Certificate[] certificateChain = km.getCertificateChain(alias);
245 Arrays.<Certificate>asList(privateKeyEntry.getCertificateChain()),
/libcore/luni/src/test/java/tests/targets/security/cert/
H A DCertPathBuilderTestPKIX.java55 for (Certificate certificate : pke.getCertificateChain()) {
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DSunX509KeyManagerImpl.java135 Certificate[] certs = ks.getCertificateChain(alias);
167 public X509Certificate[] getCertificateChain(String alias) { method in class:SunX509KeyManagerImpl
H A DX509KeyManagerImpl.java103 public X509Certificate[] getCertificateChain(String alias) { method in class:X509KeyManagerImpl
106 (X509Certificate[])entry.getCertificateChain();
210 // between the calls to getCertificateChain() and getPrivateKey()
625 Certificate[] chain = ks.getCertificateChain(alias);
H A DSSLContextImpl.java1058 public X509Certificate[] getCertificateChain(String alias) { method in class:AbstractKeyManagerWrapper
1059 return km.getCertificateChain(alias);
1147 public X509Certificate[] getCertificateChain(String alias) { method in class:DummyX509KeyManager
H A DSSLSessionImpl.java474 public X509Certificate[] getCertificateChain() method in class:SSLSessionImpl
H A DClientHandshaker.java716 X509Certificate[] certs = km.getCertificateChain(alias);
1304 X509Certificate[] peerCerts = mesg.getCertificateChain();
H A DServerHandshaker.java1239 X509Certificate[] tempCerts = km.getCertificateChain(alias);
1616 X509Certificate[] peerCerts = mesg.getCertificateChain();
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DX509KeyManagerImpl.java200 public X509Certificate[] getCertificateChain(String s) { method in class:X509KeyManagerImpl
203 X509Certificate[] cert = (X509Certificate[]) keyTest.getCertificateChain(s);
215 Certificate[] cert = keyTest.getCertificateChain(s);
/libcore/ojluni/src/main/java/java/security/
H A DKeyStoreSpi.java529 ((KeyStore.PrivateKeyEntry)entry).getCertificateChain());
H A DKeyStore.java479 public Certificate[] getCertificateChain() { method in class:KeyStore.PrivateKeyEntry
844 public final Certificate[] getCertificateChain(String alias) method in class:KeyStore
/libcore/ojluni/src/main/java/sun/security/util/
H A DSignatureFileVerifier.java482 ArrayList<X509Certificate> chain = info.getCertificateChain(block);
546 tsa[0].getCertificateChain(timestampToken);
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DSignerInfo.java228 public ArrayList<X509Certificate> getCertificateChain(PKCS7 block) method in class:SignerInfo

Completed in 349 milliseconds

12