Searched refs:eocd (Results 1 – 5 of 5) sorted by relevance
39 public final ByteBuffer eocd; field in SignatureInfo42 long eocdOffset, ByteBuffer eocd) { in SignatureInfo() argument47 this.eocd = eocd; in SignatureInfo()
62 ByteBuffer eocd = eocdAndOffsetInFile.first; in findSignature() local69 long centralDirOffset = getCentralDirOffset(eocd, eocdOffset); in findSignature()84 eocd); in findSignature()151 ByteBuffer eocdBuf = signatureInfo.eocd.duplicate(); in verifyIntegrityFor1MbChunkBasedAlgorithm()154 DataSource eocd = new ByteBufferDataSource(eocdBuf); in verifyIntegrityFor1MbChunkBasedAlgorithm() local167 new DataSource[] {beforeApkSigningBlock, centralDir, eocd}); in verifyIntegrityFor1MbChunkBasedAlgorithm()367 static long getCentralDirOffset(ByteBuffer eocd, long eocdOffset) in getCentralDirOffset() argument370 long centralDirOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocd); in getCentralDirOffset()376 long centralDirSize = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocd); in getCentralDirOffset()
133 ByteBuffer eocd = buf.slice(); in findZipEndOfCentralDirectoryRecord() local134 eocd.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()135 return Pair.create(eocd, bufOffsetInFile + eocdOffsetInBuf); in findZipEndOfCentralDirectoryRecord()
243 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()245 raf.readFully(eocd); in verifyPackage()249 if (eocd[0] != (byte)0x50 || eocd[1] != (byte)0x4b || in verifyPackage()250 eocd[2] != (byte)0x05 || eocd[3] != (byte)0x06) { in verifyPackage()254 for (int i = 4; i < eocd.length-3; ++i) { in verifyPackage()255 if (eocd[i ] == (byte)0x50 && eocd[i+1] == (byte)0x4b && in verifyPackage()256 eocd[i+2] == (byte)0x05 && eocd[i+3] == (byte)0x06) { in verifyPackage()263 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()
71505 Landroid/util/apk/SignatureInfo;->eocd:Ljava/nio/ByteBuffer;