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

java.lang.Object
  extended byat.gv.egiz.pdfas.impl.signator.binary.BinarySignator_1_0_0
      extended byat.gv.egiz.pdfas.impl.signator.binary.BinarySignator_1_1_0
All Implemented Interfaces:
Signator

public class BinarySignator_1_1_0
extends BinarySignator_1_0_0

Signs the document binary.

This just differs from version 1.0.0 in the fact that the signature data is the actual binary PDF instead of a Base64 encoding.

Author:
wprinz
See Also:
BinarySignator_1_0_0

Field Summary
static PdfASID MY_ID
          The Pdf-AS ID of this Signator.
 
Fields inherited from class at.gv.egiz.pdfas.impl.signator.binary.BinarySignator_1_0_0
SIG_BAIK_ENABLED
 
Constructor Summary
BinarySignator_1_1_0()
           
 
Method Summary
protected  SignatureData formSignatureData(IncrementalUpdateInformation iui)
          Overrides the SignatureData generation of the BinarySignator 1.0.0 so that the SignatureData is the actual binary PDF instead of a Base64 encoding.
 PdfASID getMyId()
          Returns the PdfASID of this Connector.
 
Methods inherited from class at.gv.egiz.pdfas.impl.signator.binary.BinarySignator_1_0_0
compressIUI, fillReplacesWithValues, finishSign, getEncoding, prepareSign, restoreSignedPdf, uncompressIUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MY_ID

public static final PdfASID MY_ID
The Pdf-AS ID of this Signator.

Constructor Detail

BinarySignator_1_1_0

public BinarySignator_1_1_0()
Method Detail

getMyId

public PdfASID getMyId()
Description copied from interface: Signator
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.

Specified by:
getMyId in interface Signator
Overrides:
getMyId in class BinarySignator_1_0_0
See Also:
Signator.getMyId()

formSignatureData

protected SignatureData formSignatureData(IncrementalUpdateInformation iui)
Overrides the SignatureData generation of the BinarySignator 1.0.0 so that the SignatureData is the actual binary PDF instead of a Base64 encoding.

Overrides:
formSignatureData in class BinarySignator_1_0_0
Parameters:
iui - The IncrementalUpdateInformation.
Returns:
Returns the SignatureData to be used for signing.
See Also:
BinarySignator_1_0_0.formSignatureData(IncrementalUpdateInformation)


Copyright © 2006-2010. All Rights Reserved.