Home
last modified time | relevance | path

Searched refs:getCertificateChain (Results 1 – 21 of 21) sorted by relevance

/libcore/support/src/test/java/libcore/javax/net/ssl/
DForwardingX509ExtendedKeyManager.java48 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in ForwardingX509ExtendedKeyManager
49 return delegate.getCertificateChain(alias); in getCertificateChain()
DTestKeyManager.java121 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in TestKeyManager
125 return dumpCerts(keyManager.getCertificateChain(alias)); in getCertificateChain()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DX509ExtendedKeyManagerTest.java59 public X509Certificate[] getCertificateChain(String arg0) { in getCertificateChain() method in X509ExtendedKeyManagerTest.MockX509ExtendedKeyManager
149 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() method in MyX509ExtendedKeyManager
DX509KeyManagerTest.java724 assertNull("Not NULL for NULL parameter", manager.getCertificateChain(null)); in test_getCertificateChain()
725 assertNull("Not NULL for empty parameter",manager.getCertificateChain("")); in test_getCertificateChain()
726 …assertNull("Not NULL for clientAlias_01 parameter", manager.getCertificateChain("clientAlias_01")); in test_getCertificateChain()
727 …assertNull("Not NULL for serverAlias_00 parameter", manager.getCertificateChain("serverAlias_00")); in test_getCertificateChain()
/libcore/ojluni/src/main/java/javax/net/ssl/
DX509KeyManager.java125 public X509Certificate[] getCertificateChain(String alias); in getCertificateChain() method
/libcore/luni/src/test/java/libcore/java/security/cert/
DPKIXParametersTest.java69 ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor()
70 ks.setCertificateEntry("cert", pke.getCertificateChain()[0]); in keyStoreConstructor()
76 keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.getCertificateChain()); in keyStoreConstructor()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java330 keyTest.getCertificateChain("anAlias"); in test_getCertificateChainLjava_lang_String()
343 Certificate[] certRes = keyTest.getCertificateChain("alias2"); in test_getCertificateChainLjava_lang_String()
350 Certificate[] certResNull = keyTest.getCertificateChain("alias1"); in test_getCertificateChainLjava_lang_String()
355 keyTest.getCertificateChain(null); in test_getCertificateChainLjava_lang_String()
780 assertTrue(Arrays.equals(chain, pkeActual1.getCertificateChain())); in test_getEntry()
785 assertTrue(Arrays.equals(chain, pkeActual2.getCertificateChain())); in test_getEntry()
831 assertTrue(Arrays.equals(chain, pkeActual.getCertificateChain())); in test_setEntry()
839 assertTrue(Arrays.equals(chain, pkeActual.getCertificateChain())); in test_setEntry()
851 assertTrue(Arrays.equals(chain, pkeActual.getCertificateChain())); in test_setEntry()
DKeyStorePrivateKeyEntryTest.java75 Certificate[] chain = privateKeyEntry.getCertificateChain(); in testGetCertificateChain()
DKeyStoreTest.java171 assertEquals(kss[i].getCertificateChain(alias).length, certs.length); in testSetKeyEntry()
178 assertNull(kss[i].getCertificateChain(alias)); in testSetKeyEntry()
DKSPrivateKeyEntryTest.java162 Certificate[] res = ksPKE.getCertificateChain(); in testGetCertificateChain()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertPathBuilderTestPKIX.java55 for (Certificate certificate : pke.getCertificateChain()) { in getCertPathParameters()
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DSignerInfo.annotated.java70 public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.security.pkc… in getCertificateChain() method in SignerInfo
/libcore/ojluni/src/main/java/java/security/
DKeyStoreSpi.java540 ((KeyStore.PrivateKeyEntry)entry).getCertificateChain()); in engineSetEntry()
DKeyStore.java618 public Certificate[] getCertificateChain() { in getCertificateChain() method in KeyStore.PrivateKeyEntry
1081 public final Certificate[] getCertificateChain(String alias) in getCertificateChain() method in KeyStore
/libcore/ojluni/src/main/java/sun/security/pkcs/
DSignerInfo.java274 public ArrayList<X509Certificate> getCertificateChain(PKCS7 block) in getCertificateChain() method in SignerInfo
610 ArrayList<X509Certificate> chain = tsa[0].getCertificateChain(tsToken); in getTimestamp()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DSignerInfo.java84 public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain( in getCertificateChain() method in SignerInfo
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java556 caCertChain = (X509Certificate[])signer.getCertificateChain(); in createKeys()
1132 Certificate[] chain = keyStore.getCertificateChain(alias); in dump()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java553 ArrayList<X509Certificate> chain = info.getCertificateChain(block); in getSigners()
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent.txt844 …method public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.secu…
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent.txt844 …method public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.secu…
/libcore/api/
Dmodule-lib-current.txt844 …method public java.util.ArrayList<java.security.cert.X509Certificate> getCertificateChain(sun.secu…