public class X0015_CertificateIdForFile extends PKWareExtraHeader
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 RCount 4 bytes Number of recipients. (inferred) HashAlg 2 bytes Hash algorithm identifier. (inferred) TData TSize Signature Data
PKWareExtraHeader.EncryptionAlgorithm, PKWareExtraHeader.HashAlgorithm
EXTRAFIELD_HEADER_SIZE
Constructor and Description |
---|
X0015_CertificateIdForFile() |
Modifier and Type | Method and Description |
---|---|
PKWareExtraHeader.HashAlgorithm |
getHashAlgorithm()
Get hash algorithm.
|
int |
getRecordCount()
Get record count.
|
void |
parseFromCentralDirectoryData(byte[] data,
int offset,
int length)
Populate data from this array as if it was in central directory data.
|
getCentralDirectoryData, getCentralDirectoryLength, getHeaderId, getLocalFileDataData, getLocalFileDataLength, parseFromLocalFileData, setCentralDirectoryData, setLocalFileDataData
public int getRecordCount()
public PKWareExtraHeader.HashAlgorithm getHashAlgorithm()
public void parseFromCentralDirectoryData(byte[] data, int offset, int length)
ZipExtraField
parseFromCentralDirectoryData
in interface ZipExtraField
parseFromCentralDirectoryData
in class PKWareExtraHeader
data
- the array of bytes.offset
- the source location in the data array.length
- the number of bytes to use in the data array.ZipExtraField.parseFromCentralDirectoryData(byte[], int, int)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"