Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_JP2_DIGITAL_SIGNATURE_BOX

Show in webframe

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;

The L_JP2_DIGITAL_SIGNATURE_BOX structure provides information for a Digital Signature box.

Member

Description

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 L_JP2_DIGITAL_SIGNATURE_BOX structure is used in the following functions:

L_Jp2ReadBox

L_Jp2AppendBoxes

L_Jp2ReadBoxMemory

L_Jp2AppendBoxesMemory

L_Jp2FreeBoxes

L_Jp2SetBoxes

L_Jp2GetBoxes

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.