Lines Matching refs:footer
873 // Read the magic and offset in file from the footer section of the block:
876 ByteBuffer footer = ByteBuffer.allocate(24);
877 footer.order(ByteOrder.LITTLE_ENDIAN);
878 apk.seek(centralDirOffset - footer.capacity());
879 apk.readFully(footer.array(), footer.arrayOffset(), footer.capacity());
880 if ((footer.getLong(8) != APK_SIG_BLOCK_MAGIC_LO)
881 || (footer.getLong(16) != APK_SIG_BLOCK_MAGIC_HI)) {
886 long apkSigBlockSizeInFooter = footer.getLong(0);
887 if ((apkSigBlockSizeInFooter < footer.capacity())
905 "APK Signing Block sizes in header and footer do not match: "