Home
last modified time | relevance | path

Searched refs:beforeApkSigningBlock (Results 1 – 4 of 4) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java61 public byte[] generateVerityTreeRootHash(DataSource beforeApkSigningBlock, in generateVerityTreeRootHash() argument
63 if (beforeApkSigningBlock.size() % CHUNK_SIZE != 0) { in generateVerityTreeRootHash()
65 + ": " + beforeApkSigningBlock.size()); in generateVerityTreeRootHash()
71 long centralDirOffsetForDigesting = beforeApkSigningBlock.size(); in generateVerityTreeRootHash()
78 return generateVerityTreeRootHash(new ChainedDataSource(beforeApkSigningBlock, centralDir, in generateVerityTreeRootHash()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java161 DataSource beforeApkSigningBlock, in verifyIntegrity() argument
183 ZipUtils.setZipEocdCentralDirectoryOffset(modifiedEocd, beforeApkSigningBlock.size()); in verifyIntegrity()
190 beforeApkSigningBlock, in verifyIntegrity()
195 if ((beforeApkSigningBlock.size() % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES != 0)) { in verifyIntegrity()
198 beforeApkSigningBlock.size()); in verifyIntegrity()
202 long signingBlockSize = centralDirOffset - beforeApkSigningBlock.size(); in verifyIntegrity()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java106 DataSource beforeApkSigningBlock = apk.slice(0, signatureInfo.apkSigningBlockOffset); in verify() local
114 beforeApkSigningBlock, in verify()
137 DataSource beforeApkSigningBlock, in verify() argument
160 executor, beforeApkSigningBlock, centralDir, eocd, contentDigestsToVerify, result); in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java109 DataSource beforeApkSigningBlock = apk.slice(0, signatureInfo.apkSigningBlockOffset); in verify() local
123 beforeApkSigningBlock, in verify()
144 DataSource beforeApkSigningBlock, in verify() argument
159 executor, beforeApkSigningBlock, centralDir, eocd, contentDigestsToVerify, result); in verify()