ZIP format

G ZIP format

The credential file used to ensure data integrity is a ZIP-formatted file, whose format is provided in this Appendix. Format information was downloaded from http://www.goice.co.jp/member/mo/formats/zip.html.

Byte order: Little-endian

Overall zipfile format:

[Local file header + Compressed data [+ Extended local header]?]* [Central directory]*

[End of central directory record] Local file header:

Offset Length Contents

04 bytes Local file header signature (0x04034b50)

42 bytes Version needed to extract

62 bytes General purpose bit flag

82 bytes Compression method

102 bytes Last mod file time

122 bytes Last mod file date

144 bytes CRC-32

184 bytes Compressed size (n)

224 bytes Uncompressed size

262 bytes Filename length (f)

282 bytes Extra field length (e) (f)bytes Filename

(e)bytes Extra field

 

(n)bytes

Compressed data

Extended

local header:

Offset

Length

Contents

0

4 bytes

Extended Local file header signature (0x08074b50)

Appendix G

125

Page 125
Image 125
HP UX Security Products and Features Software manual ZIP format, Appendix G 125