Searched refs:ZipDataInput (Results 1 – 9 of 9) sorted by relevance
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
| D | ZipDataInput.java | 26 public interface ZipDataInput { interface 70 ZipDataInput slice(long offset, long size); in slice()
|
| D | ZipUtils.java | 108 …public static boolean checkZip64EoCDLocatorIsPresent(ZipDataInput zip, long zipEocdOffset) throws … in checkZip64EoCDLocatorIsPresent() 192 public static ZipFileInfo findZipInfo(ZipDataInput in) throws IOException, HapFormatException { in findZipInfo() 219 private static Pair<Long, ByteBuffer> findEocdInHap(ZipDataInput in) throws IOException { in findEocdInHap() 227 …private static Pair<Long, ByteBuffer> findEocdInHap(ZipDataInput zip, int maxCommentSize) throws I… in findEocdInHap()
|
| D | ByteBufferZipDataInput.java | 26 public class ByteBufferZipDataInput implements ZipDataInput { 71 public ZipDataInput slice(long offset, long size) { in slice()
|
| D | RandomAccessFileZipDataInput.java | 29 public class RandomAccessFileZipDataInput implements ZipDataInput { 132 public ZipDataInput slice(long offset, long size) { in slice()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/ |
| D | HapVerify.java | 23 import com.ohos.hapsigntool.zip.ZipDataInput; 78 private ZipDataInput beforeApkSigningBlock; 82 private ZipDataInput centralDirectoryBlock; 84 private ZipDataInput eocd; 106 ZipDataInput beforeApkSigningBlock, in HapVerify() 108 ZipDataInput centralDirectoryBlock, in HapVerify() 109 ZipDataInput eocd, in HapVerify() 376 … keySet, new ZipDataInput[]{beforeApkSigningBlock, centralDirectoryBlock, eocd}, optionalBlocks); in parserContentinfo()
|
| D | VerifyHap.java | 34 import com.ohos.hapsigntool.zip.ZipDataInput; 244 ZipDataInput hapFile = new RandomAccessFileZipDataInput(fle); in verifyHap() 292 private HapVerify getHapVerify(ZipDataInput hapFile, ZipFileInfo zipInfo, in getHapVerify() 296 ZipDataInput beforeHapSigningBlock = hapFile.slice(0, signingBlockOffset); in getHapVerify() 297 ZipDataInput centralDirectoryBlock = hapFile.slice(zipInfo.getCentralDirectoryOffset(), in getHapVerify() 301 ZipDataInput eocdBlock = new ByteBufferZipDataInput(eocdBbyteBuffer); in getHapVerify()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | HapUtils.java | 24 import com.ohos.hapsigntool.zip.ZipDataInput; 248 private static long getChunkCount(ZipDataInput[] contents) { in getChunkCount() 250 for (ZipDataInput content : contents) { in getChunkCount() 268 …Set<ContentDigestAlgorithm> digestAlgorithms, ZipDataInput[] zipData, List<SigningBlock> optionalB… in computeDigests() 286 for (ZipDataInput content : zipData) { in computeDigests() 492 public static HapSignBlockInfo findHapSigningBlock(ZipDataInput hap, ZipFileInfo zipInfo) in findHapSigningBlock()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/ |
| D | SignProvider.java | 52 import com.ohos.hapsigntool.zip.ZipDataInput; 338 ZipDataInput outputHapIn = new RandomAccessFileZipDataInput(outputHap); in sign() 341 ZipDataInput beforeCentralDir = outputHapIn.slice(0, centralDirectoryOffset); in sign() 344 ZipDataInput centralDirectory = new ByteBufferZipDataInput(centralDirBuffer); in sign() 346 ZipDataInput eocd = new ByteBufferZipDataInput(eocdBuffer); in sign() 352 ZipDataInput[] contents = {beforeCentralDir, centralDirectory, eocd}; in sign() 452 … byte[] signingBlock, ZipDataInput centralDirectory, ByteBuffer eocdBuffer) throws IOException { in outputSignedFile()
|
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/ |
| D | SignHap.java | 27 import com.ohos.hapsigntool.zip.ZipDataInput; 260 ZipDataInput[] hapData) in getHapSigningBlock() 420 …public static byte[] sign(ZipDataInput[] contents, SignerConfig signerConfig, List<SigningBlock> o… in sign()
|