Searched refs:CodeSignBlock (Results 1 – 5 of 5) sorted by relevance
18 import com.ohos.hapsigntool.codesigning.datastructure.CodeSignBlock;166 CodeSignBlock csb = generateCodeSignBlock(file, offset, length); in verifyHap()202 private static CodeSignBlock generateCodeSignBlock(File file, long offset, long length) in generateCodeSignBlock()204 CodeSignBlock csb = new CodeSignBlock(); in generateCodeSignBlock()224 … long computedTreeOffset = getAlignmentAddr(CodeSignBlock.PAGE_SIZE_4K, fileReadOffset + offset); in generateCodeSignBlock()232 … private static void parseMerkleTree(CodeSignBlock csb, int readOffset, FileInputStream signedHap, in parseMerkleTree()
18 import com.ohos.hapsigntool.codesigning.datastructure.CodeSignBlock;91 private CodeSignBlock codeSignBlock;177 this.codeSignBlock = new CodeSignBlock(); in getCodeSignBlock()226 if ((dataSize % CodeSignBlock.PAGE_SIZE_4K) != 0) { in computeDataSize()380 private void updateCodeSignBlock(CodeSignBlock codeSignBlock) { in updateCodeSignBlock()
122 if (inMerkleTreeSize % CodeSignBlock.PAGE_SIZE_4K != 0) { in fromByteArray()126 if (inMerkleTreeOffset % CodeSignBlock.PAGE_SIZE_4K != 0) { in fromByteArray()
47 public class CodeSignBlock { class72 public CodeSignBlock() { in CodeSignBlock() method in CodeSignBlock
119 if (inHapSignInfo.getDataSize() % CodeSignBlock.PAGE_SIZE_4K != 0) { in fromByteArray()