at.knowcenter.wag.egov.egiz.pdf
Class IncrementalUpdateInformation

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.pdf.IncrementalUpdateInformation
All Implemented Interfaces:
Serializable

public class IncrementalUpdateInformation
extends Object
implements Serializable

This parameter object contains all useful inforamtion the binary incremental update methods need to create and replace a binary singature block.

This class is basically used to transport information about the document from the prepareSign to the finishSign of the Signator. In future, this could be extended and encapsulated to task proprietary IUI instances. E.g. a BinarySignatorIUI, a TextualSignatorIUI, both implementing the core IUI interface, but encapsulating Binary or Textual specialities.

Author:
wprinz
See Also:
Serialized Form

Field Summary
 ActualTablePos actualTablePos
          The actual position where the table was written.
 List byte_ranges
          The List of StringInfo objects specifying the byte ranges that should be/were signed.
 int cert_length
          The length of the /cert placeholder.
 int cert_start
          The start of the first /Cert
 int content_stream_length
          The length of the content stream of the signature x-object.
 int content_stream_start
          The start index of the content stream of the signature x-object.
 int egiz_dict_ir_generation
           
 int egiz_dict_ir_number
          The indirect reference of the egiz dict.
 int enc_length
          The length of the /encodings array.
 int enc_start
          The start of the /encodings array.
 List invisible_field_definitions
          The field definitions of invisible fields, which data should be stored in /Data.
 String invisibleKZString
          The invisible KZ String, if KZ is invisible.
 List kz_list
          The list of strings of the KZ.
static Logger log
           
 List nonTextObjectInfos
          List NonTextObjectInfo of non text objects if available (text signature only).
 PdfDataSource original_document
          The original PDF document.
 TablePos pos
          The table position.
 List replaces
          The List of ReplaceInfo objects specifying the byte ranges where the variable data has to be fille in.
 byte[] sign_iui_block
           
 SignatureData signature_data
          The data to be signed or verified.
 String signature_type
          The Singature type to be created.
 byte[] signed_pdf
          The signed pdf document.
 SignSignatureObject signed_signature_object
          The SignatureObject containing the variable values after the document text has been signed.
 String signProfile
          For signing: the profile.
 int temp_ir_generation
           
 int temp_ir_number
          The indirect reference of the signature x-object.
 int timestamp_length
          The length of the /TimeStamp placeholder.
 int timestamp_start
          The start of the first /Timestamp
 TimeStamper timeStamper
          The timestamper if any
 
Constructor Summary
IncrementalUpdateInformation()
           
 
Method Summary
 String getPdfVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final Logger log

original_document

public PdfDataSource original_document
The original PDF document.


signature_type

public String signature_type
The Singature type to be created.


signed_pdf

public byte[] signed_pdf
The signed pdf document.

This is the original document plus the incremental update block.


sign_iui_block

public byte[] sign_iui_block

egiz_dict_ir_number

public int egiz_dict_ir_number
The indirect reference of the egiz dict.


egiz_dict_ir_generation

public int egiz_dict_ir_generation

replaces

public List replaces
The List of ReplaceInfo objects specifying the byte ranges where the variable data has to be fille in.


byte_ranges

public List byte_ranges
The List of StringInfo objects specifying the byte ranges that should be/were signed.


temp_ir_number

public int temp_ir_number
The indirect reference of the signature x-object.


temp_ir_generation

public int temp_ir_generation

content_stream_start

public int content_stream_start
The start index of the content stream of the signature x-object.


content_stream_length

public int content_stream_length
The length of the content stream of the signature x-object.


signature_data

public SignatureData signature_data
The data to be signed or verified.

For text signature this is the document text. For binary signature this is the PDF document.


signed_signature_object

public SignSignatureObject signed_signature_object
The SignatureObject containing the variable values after the document text has been signed.

These values have to be filled in.


enc_start

public int enc_start
The start of the /encodings array.


enc_length

public int enc_length
The length of the /encodings array.


cert_start

public int cert_start
The start of the first /Cert


cert_length

public int cert_length
The length of the /cert placeholder.


timestamp_length

public int timestamp_length
The length of the /TimeStamp placeholder.


timestamp_start

public int timestamp_start
The start of the first /Timestamp


kz_list

public List kz_list
The list of strings of the KZ.


pos

public TablePos pos
The table position.


signProfile

public String signProfile
For signing: the profile.


actualTablePos

public ActualTablePos actualTablePos
The actual position where the table was written.


invisible_field_definitions

public List invisible_field_definitions
The field definitions of invisible fields, which data should be stored in /Data.


invisibleKZString

public String invisibleKZString
The invisible KZ String, if KZ is invisible.


nonTextObjectInfos

public List nonTextObjectInfos
List NonTextObjectInfo of non text objects if available (text signature only).


timeStamper

public TimeStamper timeStamper
The timestamper if any

Constructor Detail

IncrementalUpdateInformation

public IncrementalUpdateInformation()
Method Detail

getPdfVersion

public String getPdfVersion()


Copyright © 2006-2010. All Rights Reserved.