Lines Matching defs:name
87 private String name;
95 VerifierEntry(String name, MessageDigest digest, byte[] hash,
97 this.name = name;
133 throw invalidDigest(JarFile.MANIFEST_NAME, name, jarName);
135 verifiedEntries.put(name, certificates);
140 private SecurityException invalidDigest(String signatureFile, String name, String jarName) {
141 throw new SecurityException(signatureFile + " has invalid digest for " + name +
152 * @param name
153 * the name of the JAR file being verified.
155 JarVerifier(String name) {
156 jarName = name;
165 * @param name
166 * the name of an entry in a JAR file which is <b>not</b> in the
171 VerifierEntry initEntry(String name) {
179 Attributes attributes = man.getAttributes(name);
190 if (hm.get(name) != null) {
191 // Found an entry for entry name in .SF file
212 return new VerifierEntry(name, MessageDigest.getInstance(algorithm), hashBytes,
227 * @param name
228 * the name of the file located in the {@code META-INF}
231 * the file bytes for the file called {@code name}.
234 void addMetaEntry(String name, byte[] buf) {
235 metaEntries.put(name.toUpperCase(Locale.US), buf);
415 * {@code name}.
417 * @param name
418 * the name of a JAR entry.
421 Certificate[] getCertificates(String name) {
422 Certificate[] verifiedCerts = verifiedEntries.get(name);
445 * the name of a signature file.