Home
last modified time | relevance | path

Searched refs:getCertificates (Results 1 – 25 of 43) sorted by relevance

12

/libcore/ojluni/src/main/java/java/security/cert/
DCertPath.java189 List<? extends Certificate> thisCertList = this.getCertificates(); in equals()
190 List<? extends Certificate> otherCertList = otherCP.getCertificates(); in equals()
211 hashCode = 31*hashCode + getCertificates().hashCode(); in hashCode()
225 getCertificates().iterator(); in toString()
228 + getCertificates().size() + ".\n"); in toString()
274 public abstract List<? extends Certificate> getCertificates(); in getCertificates() method in CertPath
DCertPathValidatorException.java182 (certPath != null && index >= certPath.getCertificates().size())) { in CertPathValidatorException()
241 (certPath != null && index >= certPath.getCertificates().size())) { in readObject()
DCertStore.java158 public final Collection<? extends Certificate> getCertificates in getCertificates() method in CertStore
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarEntryTest.java121 assertNull(jarEntry.getCertificates()); in testCertificatesAndCodesigners()
134 assertNull(jarEntry1.getCertificates()); in testCertificatesAndCodesigners()
135 assertNull(jarEntry2.getCertificates()); in testCertificatesAndCodesigners()
141 assertNull(jarEntry1.getCertificates()); in testCertificatesAndCodesigners()
142 assertNull(jarEntry2.getCertificates()); in testCertificatesAndCodesigners()
152 assertNotNull(jarEntry1.getCertificates()); in testCertificatesAndCodesigners()
153 assertNotNull(jarEntry2.getCertificates()); in testCertificatesAndCodesigners()
174 .getCertificates(); in test_getCodeSigners()
176 .getCertificates(); in test_getCodeSigners()
DJarFileTest.java441 Certificate[] certs = entry.getCertificates(); in testGetJarEntry()
577 assertNull("found certificates", entry.getCertificates()); in test_getInputStreamLjava_util_jar_JarEntry_subtest0()
668 Certificate[] certs = entry.getCertificates(); in checkSignedJar()
715 Certificate[] certs = entry.getCertificates(); in getSignedJarCerts()
735 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_ValidChain()
746 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_InvalidChain()
757 assertEquals(1, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_AmbiguousSigners()
758 assertEquals(1, result.signers[1].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_AmbiguousSigners()
/libcore/ojluni/src/main/java/java/net/
DJarURLConnection.java307 public java.security.cert.Certificate[] getCertificates() in getCertificates() method in JarURLConnection
311 return e != null ? e.getCertificates() : null; in getCertificates()
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory3Test.java135 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath01()
158 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath02()
186 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath03()
DCertStore2Test.java216 Collection<? extends Certificate> certificates = certStore.getCertificates(null); in testGetCertificates()
223 … Collection<? extends Certificate> certificates = certStore.getCertificates(new MyCertSelector()); in testGetCertificates()
231 certStore.getCertificates(new MyOtherCertSelector()); in testGetCertificates()
DCertStore1Test.java166 certS.getCertificates(null); in testCertStore02()
175 certS.getCertificates(null); in testCertStore02()
388 coll = certS[i].getCertificates(null); in testCertStore15()
DCertPathTest.java166 cp1.getCertificates(); in testGetCertificates()
/libcore/ojluni/src/main/java/java/security/
DCodeSource.java50 public final java.security.cert.Certificate[] getCertificates() { return null; } in getCertificates() method in CodeSource
DCodeSigner.java159 sb.append("Signer: " + signerCertPath.getCertificates().get(0)); in toString()
DTimestamp.java147 List<? extends Certificate> certs = signerCertPath.getCertificates(); in toString()
/libcore/ojluni/src/main/java/java/util/jar/
DJarEntry.java106 public Certificate[] getCertificates() { in getCertificates() method in JarEntry
/libcore/luni/src/main/java/libcore/util/
DRecoverySystem.java46 X509Certificate[] certificates = block.getCertificates(); in verify()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java249 public java.security.cert.Certificate[] getCertificates() { in getCertificates() method in URLJarFile.URLJarFileEntry
250 Certificate[] certs = je.getCertificates(); in getCertificates()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java249 assertNull(juc.getCertificates()); in test_getCertificates()
257 assertNull(juc.getCertificates()); in test_getCertificates()
264 assertNull(juc.getCertificates()); in test_getCertificates()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertPath.java71 public List<MyCertificate> getCertificates() { in getCertificates() method in MyCertPath
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertPath.java233 X509Certificate[] certArray = pkcs7.getCertificates(); in parsePKCS7()
394 public List<X509Certificate> getCertificates() { in getCertificates() method in X509CertPath
DPKIX.java132 ((List<X509Certificate>)certPath.getCertificates()); in certificates()
260 store.getCertificates(sel); in getTargetSubject()
/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java78 assertNull(juc.getCertificates()); in test_getCertificates()
85 Certificate [] certs = juc.getCertificates(); in test_getCertificates()
92 juConn.getCertificates(); in test_getCertificates()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertPathBuilderTestPKIX.java70 List<? extends Certificate> certificates = path.getCertificates(); in validateCertPath()
/libcore/ojluni/src/main/java/sun/misc/
DResource.java177 public java.security.cert.Certificate[] getCertificates() { in getCertificates() method in Resource
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/
DLDAPCertStore.java440 private Collection<X509Certificate> getCertificates(LDAPRequest request, in getCertificates() method in LDAPCertStore
645 certs.addAll(getCertificates(request, CA_CERT, xsel)); in engineGetCertificates()
653 certs.addAll(getCertificates(request, USER_CERT, xsel)); in engineGetCertificates()
691 certs.addAll(getCertificates(request, CA_CERT, xsel)); in engineGetCertificates()
/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java109 assertNull(signedEntry.getCertificates()); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()

12