Lines Matching defs:digest
72 * Stores and a hash and a message digest and verifies that massage digest
79 private MessageDigest digest;
85 VerifierEntry(String name, MessageDigest digest, byte[] hash,
88 this.digest = digest;
94 * Updates a digest with one byte.
98 digest.update((byte) value);
102 * Updates a digest with byte array.
106 digest.update(buf, off, nbytes);
112 * signing, not the integrity of the file, as it's digest must be
116 * if the digest value stored in the manifest does <i>not</i>
117 * agree with the decrypted digest as recovered from the
121 byte[] d = digest.digest();
131 throw new SecurityException(signatureFile + " has invalid digest for " + name +
170 // entry has no digest
405 byte[] b = md.digest();