L_JP2_DIGITAL_SIGNATURE_BOX

Summary

The L_JP2_DIGITAL_SIGNATURE_BOX structure provides information for a Digital Signature box.

Syntax

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; 
} L_JP2_DIGITAL_SIGNATURE_BOX,   *pL_JP2_DIGITAL_SIGNATURE_BOX; 

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:

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.