at.gv.egiz.pdfas.impl.signator.binary
Class BinarySignatorInformation

java.lang.Object
  extended byat.gv.egiz.pdfas.impl.signator.binary.BinarySignatorInformation
All Implemented Interfaces:
SignatorInformation

public class BinarySignatorInformation
extends Object
implements SignatorInformation

Author:
wprinz

Field Summary
protected  ActualTablePos atp
           
protected  int cert_length
           
protected  int cert_start
           
protected  int enc_length
           
protected  int enc_start
           
protected  byte[] incrementalUpdateBlock
           
protected  PdfDataSource originalDocument
           
protected  List replaces
           
protected  SignatureData signatureData
           
protected  String signProfile
           
protected  SignSignatureObject signSignatureObject
           
protected  int timestamp_length
           
protected  int timestamp_start
           
 
Constructor Summary
BinarySignatorInformation()
           
 
Method Summary
 ActualTablePos getActualTablePos()
          Returns the position where the signature table was actually placed.
 List getNonTextualObjects()
          Returns a list<NonTextObjectInfo of non textual objects in the pdf document.
 SignatureData getSignatureData()
          Returns the SignatureData to be signed.
 SignSignatureObject getSignSignatureObject()
          Returns the SignSignatureObject.
 void setNonTextualObjects(List nonTextObjects)
          Set a list<NonTextObjectInfo of non textual objects in the pdf document.
 void setSignSignatureObject(SignSignatureObject signSignatureObject)
          Sets the SignSignatureObject with the signature data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalDocument

protected PdfDataSource originalDocument

incrementalUpdateBlock

protected byte[] incrementalUpdateBlock

signatureData

protected SignatureData signatureData

replaces

protected List replaces

cert_start

protected int cert_start

cert_length

protected int cert_length

timestamp_start

protected int timestamp_start

timestamp_length

protected int timestamp_length

enc_start

protected int enc_start

enc_length

protected int enc_length

signSignatureObject

protected SignSignatureObject signSignatureObject

atp

protected ActualTablePos atp

signProfile

protected String signProfile
Constructor Detail

BinarySignatorInformation

public BinarySignatorInformation()
Method Detail

getSignatureData

public SignatureData getSignatureData()
Description copied from interface: SignatorInformation
Returns the SignatureData to be signed.

This is passed on to the Connector and signature device for signing.

Specified by:
getSignatureData in interface SignatorInformation
Returns:
Returns the SignatureData to be signed.
See Also:
SignatorInformation.getSignatureData()

setSignSignatureObject

public void setSignSignatureObject(SignSignatureObject signSignatureObject)
Description copied from interface: SignatorInformation
Sets the SignSignatureObject with the signature data.

This is called by the framework to provide the finishSign with the signature data.

Specified by:
setSignSignatureObject in interface SignatorInformation
Parameters:
signSignatureObject - The SignSignatureObject.
See Also:
SignatorInformation.setSignSignatureObject(at.knowcenter.wag.egov.egiz.sig.connectors.bku.SignSignatureObject)

getSignSignatureObject

public SignSignatureObject getSignSignatureObject()
Description copied from interface: SignatorInformation
Returns the SignSignatureObject.

After signation, this is used by the framework/API to get additional information about the signature.

Specified by:
getSignSignatureObject in interface SignatorInformation
Returns:
Returns the SignSignatureObject.
See Also:
SignatorInformation.getSignSignatureObject()

getActualTablePos

public ActualTablePos getActualTablePos()
Description copied from interface: SignatorInformation
Returns the position where the signature table was actually placed.

Specified by:
getActualTablePos in interface SignatorInformation
Returns:
Returns the position where the signature table was actually placed.
See Also:
SignatorInformation.getActualTablePos()

getNonTextualObjects

public List getNonTextualObjects()
Description copied from interface: SignatorInformation
Returns a list<NonTextObjectInfo of non textual objects in the pdf document. Only available for textual signatures. Show this to the user who signed the textual content only!

Specified by:
getNonTextualObjects in interface SignatorInformation
Returns:
List<NonTextObjectInfo or null of not available (binary signature)

setNonTextualObjects

public void setNonTextualObjects(List nonTextObjects)
Description copied from interface: SignatorInformation
Set a list<NonTextObjectInfo of non textual objects in the pdf document. Only available for textual signatures. Show this to the user who signed the textual content only!

Specified by:
setNonTextualObjects in interface SignatorInformation


Copyright © 2006-2010. All Rights Reserved.