欢迎来到蓝梦软件下载中心!
免责声明:本站软件仅用于恢复和销毁存储介质数据,如果涉及个人隐私等问题,请使用者自行承担,使用软件默认同意本声明!
Q Q:1731278955
传真:0510-82737376
手机:13400027332
E-mail:1731278955@qq.com

技术文章
您所在的位置:首页 > 技术文章 >

ZIP压缩文件数据结构解析十二



作者: 来源: 日期:2018/1/7 7:17:49 人气:3 

          Actions

          Action       Value

          ------       ----- 

          none         0

          add          1

          delete       2

          patch        3

          Reactions

          Reaction     Value

          --------     -----

          ask          0

          skip         1

          ignore       2

          fail         3

          Patch support is provided by PKPatchMaker(tm) technology and is 

          covered under U.S. Patents and Patents Pending.

         -PKCS#7 Store for X.509 Certificates (0x0014):

          This field contains information about each of the certificates 

          files may be signed with. When the Central Directory Encryption 

          feature is enabled for a ZIP file, this record will appear in 

          the Archive Extra Data Record, otherwise it will appear in the 

          first central directory record and will be ignored in any 

          other record.

          Note: all fields stored in Intel low-byte/high-byte order.

          Value     Size     Description

          -----     ----     -----------

  (Store) 0x0014    2 bytes  Tag for this "extra" block type

          TSize     2 bytes  Size of the store data

          TData     TSize    Data about the store

         -X.509 Certificate ID and Signature for individual file (0x0015):

          This field contains the information about which certificate in 

          the PKCS#7 store was used to sign a particular file. It also 

          contains the signature data. This field can appear multiple 

          times, but can only appear once per certificate.

          Note: all fields stored in Intel low-byte/high-byte order.

          Value     Size     Description

          -----     ----     -----------

  (CID)   0x0015    2 bytes  Tag for this "extra" block type

          TSize     2 bytes  Size of data that follows

          TData     TSize    Signature Data

         -X.509 Certificate ID and Signature for central directory (0x0016):

          This field contains the information about which certificate in 

          the PKCS#7 store was used to sign the central directory structure.

          When the Central Directory Encryption feature is enabled for a 

          ZIP file, this record will appear in the Archive Extra Data Record, 

          otherwise it will appear in the first central directory record.

          Note: all fields stored in Intel low-byte/high-byte order.

          Value     Size     Description

          -----     ----     -----------

  (CDID)  0x0016    2 bytes  Tag for this "extra" block type

          TSize     2 bytes  Size of data that follows

          TData     TSize    Data

         -Strong Encryption Header (0x0017) (EFS):

          Value     Size     Description

          -----     ----     -----------

          0x0017    2 bytes  Tag for this "extra" block type

          TSize     2 bytes  Size of data that follows