Home
last modified time | relevance | path

Searched refs:rawRootHash (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java36 public final byte[] rawRootHash; // salted digest of the first Merkle tree page field in V4Signature.HashingInfo
38 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo() argument
42 this.rawRootHash = rawRootHash; in HashingInfo()
50 byte[] rawRootHash = readBytes(buffer); in fromByteArray()
51 return new HashingInfo(hashAlgorithm, log2BlockSize, salt, rawRootHash); in fromByteArray()
56 + bytesSize(this.rawRootHash); in toByteArray()
61 writeBytes(buffer, this.rawRootHash); in toByteArray()
140 hashingInfo.salt) + bytesSize(hashingInfo.rawRootHash) + bytesSize( in getSignedData()
149 writeBytes(buffer, hashingInfo.rawRootHash); in getSignedData()
DV4SchemeVerifier.java107 verifyRootHashAndTree(apk, signerInfo, hashingInfo.rawRootHash, tree); in verify()