Home
last modified time | relevance | path

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

12

/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.java500 assertNull("found certificates", entry.getCertificates()); in test_getInputStreamLjava_util_jar_JarEntry_subtest0()
591 Certificate[] certs = entry.getCertificates(); in assertFirstSignedEntryCertificateLength()
620 Certificate[] certs = entry.getCertificates(); in getSignedJarCerts()
640 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_ValidChain()
651 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_InvalidChain()
662 assertEquals(1, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_AmbiguousSigners()
663 assertEquals(1, result.signers[1].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_AmbiguousSigners()
/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/ojluni/src/main/java/java/net/
DJarURLConnection.java303 public java.security.cert.Certificate[] getCertificates() in getCertificates() method in JarURLConnection
307 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.java67 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.java107 public Certificate[] getCertificates() { in getCertificates() method in JarEntry
/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/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java276 public java.security.cert.Certificate[] getCertificates() { in getCertificates() method in URLJarFile.URLJarFileEntry
277 Certificate[] certs = je.getCertificates(); in getCertificates()
/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.java131 ((List<X509Certificate>)certPath.getCertificates()); in certificates()
253 store.getCertificates(sel); in getTargetSubject()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertPath.java71 public List<MyCertificate> getCertificates() { in getCertificates() method in MyCertPath
/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/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertPath.java91 public java.util.List<java.security.cert.X509Certificate> getCertificates() { in getCertificates() method in X509CertPath
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DPKCS7.annotated.java75 public java.security.cert.X509Certificate[] getCertificates() { throw new RuntimeException("Stub!")… in getCertificates() method in PKCS7
/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java116 assertNull(signedEntry.getCertificates()); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()

12