Searched refs:eocd (Results 1 – 5 of 5) sorted by relevance
42 public final @NonNull ByteBuffer eocd; field in SignatureInfo45 long centralDirOffset, long eocdOffset, @NonNull ByteBuffer eocd) { in SignatureInfo() argument50 this.eocd = eocd; in SignatureInfo()
135 ByteBuffer eocd = buf.slice(); in findZipEndOfCentralDirectoryRecord() local136 eocd.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()137 return Pair.create(eocd, bufOffsetInFile + eocdOffsetInBuf); in findZipEndOfCentralDirectoryRecord()
73 ByteBuffer eocd = eocdAndOffsetInFile.first; in findSignature() local80 long centralDirOffset = getCentralDirOffset(eocd, eocdOffset); in findSignature()95 eocd); in findSignature()211 ByteBuffer eocdBuf = signatureInfo.eocd.duplicate(); in computeContentDigestsPer1MbChunk()214 DataSource eocd = new ByteBufferDataSource(eocdBuf); in computeContentDigestsPer1MbChunk() local217 new DataSource[]{beforeApkSigningBlock, centralDir, eocd}); in computeContentDigestsPer1MbChunk()404 static long getCentralDirOffset(ByteBuffer eocd, long eocdOffset) in getCentralDirOffset() argument407 long centralDirOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocd); in getCentralDirOffset()413 long centralDirSize = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocd); in getCentralDirOffset()
307 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()309 raf.readFully(eocd); in verifyPackage()313 if (eocd[0] != (byte)0x50 || eocd[1] != (byte)0x4b || in verifyPackage()314 eocd[2] != (byte)0x05 || eocd[3] != (byte)0x06) { in verifyPackage()318 for (int i = 4; i < eocd.length-3; ++i) { in verifyPackage()319 if (eocd[i ] == (byte)0x50 && eocd[i+1] == (byte)0x4b && in verifyPackage()320 eocd[i+2] == (byte)0x05 && eocd[i+3] == (byte)0x06) { in verifyPackage()327 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()
56839 Landroid/util/apk/SignatureInfo;->eocd:Ljava/nio/ByteBuffer;