The L_JP2_DIGITAL_SIGNATURE_BOX structure provides information for a Digital Signature box.


typedef struct _tagL_JP2_DIGITAL_SIGNATURE_BOX 
   L_UINT32 uStructSize; 
   L_UINT8  uStyp; 
   L_UINT8  uPtyp; 
   L_UINT64 uOFF; 
   L_UINT64 uLength; 
   L_UINT8 * pData; 
   L_SIZE_T uDataSize; 



Size of this structure, in bytes. Use the sizeof operator to calculate this value.


Signature type. This field specifies the type of digital signature contained within this Digital Signature box.


Source pointer type. This field indicates how the source data range that is signed by this Digital signature box is specified.


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.


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.


Signature data.


The size of signature data.


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:

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help