Hhmmm, to me it sounds like a construct that somewhere requires some kind of 
state --- which might be serlialized as the intermediate document from that 
other mail and identified via the filename, a state nonetheless.

Regards,   Michael

________________________________

From: Gonçalo Almeida [mailto:[email protected]] 
Sent: Tuesday, March 03, 2009 9:13 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] (no subject)


Well, that would surely work.
But now I have a Flash client which has to call initializeSignature from me, 
signDocument from other party and finally finalizeSignature from me again.
As Flash doesn't maintain the invoked Java classes' state, I can't save 
anything from one call to the other...

The methods should be completly independent.


2009/3/2 <[email protected]>


        Hi,
        
        I haven't checked your code in detail but... could you not simply store 
the stamper, signature appearance, and any other object of interest in member 
variables of the object that offers those methods?
        
        Regards,   Michael.
        ________________________________________
        Von: Gonçalo Almeida [mailto:[email protected]]
        Gesendet: Montag, 2. März 2009 19:21
        An: Post all your questions about iText here
        Betreff: [iText-questions] Using external signatures
        
        Hello all
        
        I have a problem concerning the usage of external signatures.
        I want my application to sign a PDF document in three moments:
        •       (1) byte[] hash = initializeSignature(String pdf, Certificate 
cert, KeyStore chain, CRL crl) / to return the signable bytes
        •       (2) byte[] rawSignature = signExternal(hash) / to sign the hash
        •       (3) byte[] signedPDF = finalizeSignature(byte[] signature, 
byte[] hash) / to return the complete signed PDF

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to