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

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.pdf.TextualSignatureHolder
All Implemented Interfaces:
SignatureHolder, Serializable

public class TextualSignatureHolder
extends Object
implements Serializable, SignatureHolder

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

Author:
wprinz
See Also:
Serialized Form

Constructor Summary
TextualSignatureHolder(String text, SignatureObject so)
           
 
Method Summary
 SignatureObject getSignatureObject()
           
 String getSignedText()
          Returns the signed text (verification) or the to-be-signed signable text (signation).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextualSignatureHolder

public TextualSignatureHolder(String text,
                              SignatureObject so)
Method Detail

getSignedText

public String getSignedText()
Description copied from interface: SignatureHolder
Returns the signed text (verification) or the to-be-signed signable text (signation).

Note that this text must be the one that was actually signed. This text is directly passed to the connector for signation/verification. No normalization or modification will be / must be done to this text between reading out from the signature holder and passing the text to the connector.

Specified by:
getSignedText in interface SignatureHolder
Returns:
Returns the signed text or the to-be-signed signable text.
See Also:
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()


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.