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

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

public class BinarySignatureHolder
extends Object
implements Serializable, SignatureHolder

Data structure that holds the information of one binary signature block, which is the signed/signable pdf and the corresponding SignatureObject.

The actual signed text is computed by Base64 encoding the binary data when first requested.

The corresponding getters can be used to retrieve the signed document (e.g. for displaying a preview).

Author:
wprinz
See Also:
Serialized Form

Constructor Summary
BinarySignatureHolder(PdfDataSource pdf, SignatureObject so)
           
 
Method Summary
 DataSource getDataSource()
          Returns the DataSource providing the data.
 SignatureObject getSignatureObject()
           
 PdfDataSource getSignedPdf()
           
 String getSignedText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinarySignatureHolder

public BinarySignatureHolder(PdfDataSource pdf,
                             SignatureObject so)
Method Detail

getSignedText

public String getSignedText()
See Also:
at.knowcenter.wag.egov.egiz.pdf.SignatureHolder#getSignedText()

getSignatureObject

public SignatureObject getSignatureObject()
Specified by:
getSignatureObject in interface SignatureHolder
Returns:
Returns the SignatureObject containing the issuer, serial number, etc.
See Also:
SignatureHolder.getSignatureObject()

getDataSource

public DataSource getDataSource()
Description copied from interface: SignatureHolder
Returns the DataSource providing the data.

Specified by:
getDataSource in interface SignatureHolder
Returns:
See Also:
SignatureHolder.getDataSource()

getSignedPdf

public PdfDataSource getSignedPdf()


Copyright © 2006-2010. All Rights Reserved.