at.gv.egiz.pdfas.framework.signator
Interface Signator

All Known Implementing Classes:
BinarySignator_1_0_0, TextualSignator_1_0_0

public interface Signator

The basic interface for signator algorithms.

Author:
wprinz

Method Summary
 void finishSign(SignatorInformation signatorInformation, DataSink dataSink)
           
 String getEncoding()
          Suppies encoding for text extraction
 PdfASID getMyId()
          Returns the PdfASID of this Connector.
 SignatorInformation prepareSign(PdfDataSource pdfDataSource, String profile, TablePos pos, TimeStamper timestamper)
           
 

Method Detail

getMyId

public PdfASID getMyId()
Returns the PdfASID of this Connector.

This should always return the MY_ID static field of the connector. Dont't forget to override this.

Within connector code always use this method so that code reuse through derivation can take place correctly.

Returns:
Returns the PdfASID of this Connector.

getEncoding

public String getEncoding()
Suppies encoding for text extraction

Returns:

prepareSign

public SignatorInformation prepareSign(PdfDataSource pdfDataSource,
                                       String profile,
                                       TablePos pos,
                                       TimeStamper timestamper)
                                throws SignatorException
Throws:
SignatorException

finishSign

public void finishSign(SignatorInformation signatorInformation,
                       DataSink dataSink)
                throws SignatorException
Throws:
SignatorException


Copyright © 2006-2010. All Rights Reserved.