/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarEntry.java | 40 CodeSigner[] signers; field in JarEntry 75 this.signers = je.signers; in JarEntry() 127 return signers == null ? null : signers.clone(); in getCodeSigners()
|
D | JarVerifier.java | 241 if ((je != null) && (je.signers == null)) { in processEntry() 242 je.signers = mev.verify(verifiedSigners, sigFileSigners); in processEntry() 243 je.certs = mapSignersToCertArray(je.signers); in processEntry() 390 CodeSigner[] signers) { in mapSignersToCertArray() argument 392 if (signers != null) { in mapSignersToCertArray() 394 for (int i = 0; i < signers.length; i++) { in mapSignersToCertArray() 396 signers[i].getSignerCertPath().getCertificates()); in mapSignersToCertArray() 542 private synchronized CodeSource mapSignersToCodeSource(URL url, CodeSigner[] signers) { in mapSignersToCodeSource() argument 555 CodeSource cs = map.get(signers); in mapSignersToCodeSource() 557 cs = new VerifierCodeSource(csdomain, url, signers); in mapSignersToCodeSource() [all …]
|
D | JarFile.java | 324 if (signers == null && jv != null) { in getCodeSigners() 325 signers = jv.getCodeSigners(JarFile.this, this); in getCodeSigners() 327 return signers == null ? null : signers.clone(); in getCodeSigners()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 258 public void process(Hashtable<String, CodeSigner[]> signers, in process() argument 268 processImpl(signers, manifestDigests); in process() 275 private void processImpl(Hashtable<String, CodeSigner[]> signers, in processImpl() argument 333 updateSigners(newSigners, signers, name); in processImpl() 345 updateSigners(newSigners, signers, JarFile.MANIFEST_NAME); in processImpl() 548 ArrayList<CodeSigner> signers = null; in getSigners() local 555 if (signers == null) { in getSigners() 556 signers = new ArrayList<CodeSigner>(); in getSigners() 559 signers.add(new CodeSigner(certChain, info.getTimestamp())); in getSigners() 567 if (signers != null) { in getSigners() [all …]
|
D | ManifestEntryVerifier.java | 73 private CodeSigner[] signers = null; field in ManifestEntryVerifier 101 signers = null; in setEntry() 200 if (signers != null) in verify() 201 return signers; in verify() 223 signers = sigFileSigners.remove(name); in verify() 224 if (signers != null) { in verify() 225 verifiedSigners.put(name, signers); in verify() 227 return signers; in verify()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | SignatureFileVerifier.java | 68 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in process() argument 77 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in processImpl() argument 127 java.security.CodeSigner[] signers, in matches() argument 135 java.util.Hashtable<java.lang.String, java.security.CodeSigner[]> signers, in updateSigners() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarFileTest.java | 603 public CodeSigner[] signers; field in JarFileTest.Results 621 CodeSigner[] signers = entry.getCodeSigners(); in getSignedJarCerts() local 624 results.signers = signers; in getSignedJarCerts() 639 assertEquals(Arrays.deepToString(result.signers), 1, result.signers.length); in testJarFile_Signed_ValidChain() 640 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_ValidChain() 650 assertEquals(Arrays.deepToString(result.signers), 1, result.signers.length); in testJarFile_Signed_InvalidChain() 651 assertEquals(3, result.signers[0].getSignerCertPath().getCertificates().size()); in testJarFile_Signed_InvalidChain() 661 assertEquals(Arrays.deepToString(result.signers), 2, result.signers.length); in testJarFile_Signed_AmbiguousSigners() 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/ |
D | CodeSource.java | 57 public CodeSource(URL url, CodeSigner[] signers) { in CodeSource() argument
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 457 CodeSigner[] signers = res.getCodeSigners(); in defineClass() local 458 CodeSource cs = new CodeSource(url, signers); in defineClass() 465 CodeSigner[] signers = res.getCodeSigners(); in defineClass() local 466 CodeSource cs = new CodeSource(url, signers); in defineClass()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | ClassLoader.java | 115 protected final void setSigners(java.lang.Class<?> c, java.lang.Object[] signers) { in setSigners() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ClassLoader.java | 753 protected final void setSigners(Class<?> c, Object[] signers) { in setSigners() argument
|
/libcore/ojluni/src/main/native/ |
D | jvm.h | 441 JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers);
|