L_JP2_DIGITAL_SIGNATURE_BOX (original) (raw)
Summary
The L_JP2_DIGITAL_SIGNATURE_BOX structure provides information for a Digital Signature box.
Syntax
Members
uStructSize
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
uStyp
Signature type. This field specifies the type of digital signature contained within this Digital Signature box.
uPtyp
Source pointer type. This field indicates how the source data range that is signed by this Digital signature box is specified.
uOFF
Source data offset. This field specifies the offset in bytes to the start of the source data range that is signed by this Digital Signature box.
uLength
Source data Length. If nonzero, this field specifies the length in byte of the source data range the is signed by this Digital Signature box. A value of zero specifies that the end of the source data range is the last byte of the file.
pData
Signature data.
uDataSize
The size of signature data.
Comments
The Digital Signature box contains a checksum or digital signature that may be used to verify data contained within the file. This digital signature is used to protect a very specific byte stream within the file. Any change to that byte stream will invalidate the digital signature. This box is defined in JPX and above file formats. A JPEG 2000 file may contain zero or more Digital Signature boxes.
The structure is used by:
- L_Jp2ReadBox
- L_Jp2AppendBoxes
- L_Jp2ReadBoxMemory
- L_Jp2AppendBoxesMemory
- L_Jp2FreeBoxes
- L_Jp2SetBoxes
- L_Jp2GetBoxes
LEADTOOLS Raster Imaging C API Help