File: APPNOTE.TXT - .ZIP File Format Specification
Version: 6.3.2
Revised: September 28, 2007
Copyright (c) 1989 - 2007 PKWARE Inc., All Rights Reserved.
The use of certain technological aspects disclosed in the current
APPNOTE is available pursuant to the below section entitled
"Incorporating PKWARE Proprietary Technology into Your Product".
I. Purpose
----------
This specification is intended to define a cross-platform,
interoperable file storage and transfer format. Since its
first publication in 1989, PKWARE has remained committed to
ensuring the interoperability of the .ZIP file format through
publication and maintenance of this specification. We trust that
all .ZIP compatible vendors and application developers that have
adopted and benefited from this format will share and support
this commitment to interoperability.
II. Contacting PKWARE
---------------------
PKWARE, Inc.
648 N. Plankinton Avenue, Suite 220
Milwaukee, WI 53203
+1-414-289-9788
+1-414-289-9789 FAX
zipformat@pkware.com
III. Disclaimer
---------------
Although PKWARE will attempt to supply current and accurate
information relating to its file formats, algorithms, and the
subject programs, the possibility of error or omission cannot
be eliminated. PKWARE therefore expressly disclaims any warranty
that the information contained in the associated materials relating
to the subject programs and/or the format of the files created or
accessed by the subject programs and/or the algorithms used by
the subject programs, or any other matter, is current, correct or
accurate as delivered. Any risk of damage due to any possible
inaccurate information is assumed by the user of the information.
Furthermore, the information relating to the subject programs
and/or the file formats created or accessed by the subject
programs and/or the algorithms used by the subject programs is
subject to change without notice.
If the version of this file is marked as a NOTIFICATION OF CHANGE,
the content defines an Early Feature Specification (EFS) change
to the .ZIP file format that may be subject to modification prior
to publication of the Final Feature Specification (FFS). This
document may also contain information on Planned Feature
Specifications (PFS) defining recognized future extensions.
IV. Change Log
--------------
Version Change Description Date
------- ------------------ ----------
5.2 -Single Password Symmetric Encryption 06/02/2003
storage
6.1.0 -Smartcard compatibility 01/20/2004
-Documentation on certificate storage
6.2.0 -Introduction of Central Directory 04/26/2004
Encryption for encrypting metadata
-Added OS/X to Version Made By values
6.2.1 -Added Extra Field placeholder for 04/01/2005
POSZIP using ID 0x4690
-Clarified size field on
"zip64 end of central directory record"
6.2.2 -Documented Final Feature Specification 01/06/2006
for Strong Encryption
-Clarifications and typographical
corrections
6.3.0 -Added tape positioning storage 09/29/2006
parameters
-Expanded list of supported hash algorithms
-Expanded list of supported compression
algorithms
-Expanded list of supported encryption
algorithms
-Added option for Unicode filename
storage
-Clarifications for consistent use
of Data Descriptor records
-Added additional "Extra Field"
definitions
6.3.1 -Corrected standard hash values for 04/11/2007
SHA-256/384/512
6.3.2 -Added compression method 97 09/28/2007
-Documented InfoZIP "Extra Field"
values for UTF-8 file name and
file comment storage
V. General Format of a .ZIP file
--------------------------------
Files stored in arbitrary order. Large .ZIP files can span multiple
volumes or be split into user-defined segment sizes. All values
are stored in little-endian byte order unless otherwise specified.
Overall .ZIP file format:
[local file header 1]
[file data 1]
[data descriptor 1]
.
.
.
[local file header n]
[file data n]
[data descriptor n]
[archive decryption header]
[archive extra data record]
[central directory]
[zip64 end of central directory record]
[zip64 end of central directory locator]
[end of central directory record]
A. Local file header:
local file header signature 4 bytes (0x04034b50)
version needed to extract 2 bytes
general purpose bit flag 2 bytes
compression method 2 bytes
last mod file time 2 bytes
last mod file date 2 bytes
crc-32 4 bytes
compressed size 4 bytes
uncompressed size 4 bytes
file name length 2 bytes
extra field length 2 bytes
file name (variable size)
extra field (variable size)
B. File data
Immediately following the local header for a file
is the compressed or stored data for the file.
The series of [local file header][file data][data
descriptor] repeats for each file in the .ZIP archive.
C. Data descriptor:
crc-32 4 bytes
compressed size 4 bytes
uncompressed size 4 bytes
This descriptor exists only if bit 3 of the general
purpose bit flag is set (see below). It is byte aligned
and immediately follows the last byte of compressed data.
This descriptor is used only when it was not possible to
seek in the output .ZIP file, e.g., when the output .ZIP file
was standard output or a non-seekable device. For ZIP64(tm) format
archives, the compressed and uncompressed sizes are 8 bytes each.
When compressing files, compressed and uncompressed sizes
should be stored in ZIP64 format (as 8 byte values) when a
files size exceeds 0xFFFFFFFF. However ZIP64 format may be
used regardless of the size of a file. When extracting, if
the zip64 extended information extra field is present for
the file the compressed and uncompressed sizes will be 8
byte values.
Although not originally assigned a signature, the value
0x08074b50 has commonly been adopted as a signature value
for the data descriptor record. Implementers should be
aware that ZIP files may be encountered with or without this
signature marking data descriptors and should account for
either case when reading ZIP files to ensure compatibility.
When writing ZIP files, it is recommended to include the
signature value marking the data descriptor record. When
the signature is used, the fields currently defined for
the data descriptor record will immediately follow the
signature.
An extensible data descriptor will be released in a future
version of this APPNOTE. This new record is intended to
resolve conflicts with the use of this record going forward,
and to provide better support for streamed file processing.
When the Central Directory Encryption method is used, the data
descriptor record is not required, but may be used. If present,
and bit 3 of the gener
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
采用java技术构建的一个管理系统 包括程序源代码一份,数据库一分,完美运行。 此项目运用了ssm架构 前端采用了bootstrap框架 采用mysql数据库 整个开发过程首先对系统进行需求分析,得出系统的主要功能。 接着对系统进行总体设计和详细设计。 总体设计主要包括系统功能设计、系统总体结构设计、系统数据结构设计和系统安全设计等; 详细设计主要包括系统数据库访问的实现,主要功能模块的具体实现,模块实现关键代码等。 内附运行说明
资源详情
资源评论
资源推荐
收起资源包目录
JAVA-SSM-项目实战-APP信息管理平台 (2000个子文件)
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.css 120KB
bootstrap.css 120KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap.min.css 97KB
bootstrap.min.css 97KB
custom.css 82KB
custom.css 82KB
bootstrap.min.css 81KB
bootstrap.min.css 81KB
animate.css 71KB
animate.css 71KB
custom.min.css 65KB
custom.min.css 65KB
custom.min.css 65KB
custom.min.css 65KB
jquery.mCustomScrollbar.css 52KB
jquery.mCustomScrollbar.css 52KB
animate.min.css 52KB
animate.min.css 52KB
animate.min.css 46KB
animate.min.css 46KB
jquery.mCustomScrollbar.min.css 42KB
jquery.mCustomScrollbar.min.css 42KB
jquery.mCustomScrollbar.min.css 42KB
jquery.mCustomScrollbar.min.css 42KB
font-awesome.css 34KB
font-awesome.css 34KB
font-awesome.css 32KB
font-awesome.css 32KB
font-awesome.min.css 28KB
font-awesome.min.css 28KB
font-awesome.min.css 28KB
font-awesome.min.css 28KB
fullcalendar.css 28KB
fullcalendar.css 28KB
font-awesome.min.css 27KB
font-awesome.min.css 27KB
font-awesome.css 26KB
font-awesome.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-progressbar-2.0.3.css 23KB
bootstrap-progressbar-2.0.4.css 23KB
bootstrap-progressbar-2.0.4.css 23KB
bootstrap-progressbar-2.0.3.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
bootstrap-progressbar-2.0.2.css 23KB
bootstrap-progressbar-2.0.2.css 23KB
font-awesome.min.css 21KB
font-awesome.min.css 21KB
bootstrap-progressbar-2.1.1.css 21KB
bootstrap-progressbar-2.1.1.css 21KB
docs.min.css 21KB
docs.min.css 21KB
bootstrap-progressbar-2.1.0.css 21KB
bootstrap-progressbar-2.3.1.css 21KB
bootstrap-progressbar-2.3.0.css 21KB
bootstrap-progressbar-2.2.1.css 21KB
bootstrap-progressbar-2.2.0.css 21KB
bootstrap-progressbar-2.3.2.css 21KB
bootstrap-progressbar-2.2.2.css 21KB
bootstrap-progressbar-2.3.2.css 21KB
bootstrap-progressbar-2.2.0.css 21KB
bootstrap-progressbar-2.1.0.css 21KB
bootstrap-progressbar-2.3.1.css 21KB
bootstrap-progressbar-2.3.0.css 21KB
bootstrap-progressbar-2.2.1.css 21KB
bootstrap-progressbar-2.2.2.css 21KB
bootstrap-progressbar-2.0.1.css 20KB
bootstrap-progressbar-2.0.1.css 20KB
bootstrap-progressbar-2.0.3.min.css 20KB
bootstrap-progressbar-2.0.4.min.css 20KB
bootstrap-progressbar-2.0.3.min.css 20KB
bootstrap-progressbar-2.0.4.min.css 20KB
bootstrap-progressbar-2.0.0.css 20KB
bootstrap-progressbar-2.0.0.css 20KB
bootstrap-progressbar-2.0.2.min.css 20KB
bootstrap-progressbar-2.0.2.min.css 20KB
_all.css 20KB
_all.css 20KB
jasmine.css 19KB
jasmine.css 19KB
bootstrap-progressbar-2.1.1.min.css 18KB
bootstrap-progressbar-2.2.2.min.css 18KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
小麋
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0