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
RCount 4 bytes Number of recipients. (inferred)
HashAlg 2 bytes Hash algorithm identifier. (inferred)
TData TSize Data
| Modifier and Type | Field and Description |
|---|---|
| private PKWareExtraHeader. | |
| pack-priv static final ZipShort | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PKWareExtraHeader. | |
| public int | |
| public void | parseFromCentralDirectoryData(final byte[]
the array of bytes. data, final int the source location in the data array. offset, final int the number of bytes to use in the data array. length)Overrides org. Implements org. |
| hashAlg | back to summary |
|---|---|
| private PKWareExtraHeader. | |
| HEADER_ID | back to summary |
|---|---|
| pack-priv static final ZipShort HEADER_ID | |
| rcount | back to summary |
|---|---|
| private int rcount | |
| X0016_CertificateIdForCentralDirectory | back to summary |
|---|---|
| public X0016_CertificateIdForCentralDirectory() | |
| getHashAlgorithm | back to summary |
|---|---|
| public PKWareExtraHeader. Gets hash algorithm.
| |
| getRecordCount | back to summary |
|---|---|
| public int getRecordCount() Gets record count.
| |