I think that i'm missing something ...

It can sound silly (sorry if so), but yes, the user has the private key in his/her computer, but in the server there's no certificate, and the client is not going to send it's private key, so ... ¿how can i get the hash if i don't have a private key?

Paulo Soares escribió:
See http://itextpdf.sourceforge.net/howtosign.html#signextstd. 
You'll only need to sign the hash.
	  
> Ok. But it those samples you always call "sap.setCrypto(key, 
> chain, ...) and i don't have the key or the chain when i'm 
> going to calculate that hash ...
  

Someone must have a private key.
  
--


Eneko González Benito
Jefe de Proyecto

ELPA Gestión
 
Henao 4, 3ª planta, Dptos. A y B
Bilbao - 48009
  Tfno. 94.423.01.66
Fax   94.423.01.78

Ezinbestekoa ez bada, ez imprimatu mezu hau; zaindu ingurumena.
No imprima este e-mail si no es totalmente necesario; respete el Medio Ambiente.
Don't print this e-mail unless it is absolutely necessary; respect the environment.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to