Hi Joseph,

Sure is this possible. That's what Apache XML Security is all about, isn't it? 
:)

But I would first sign the message and encrypt it afterwards. That gives a 
hacker less information because all signature related information is in the 
encrypted part of the receipt.

Cheers,
Ulrich
-----Ursprüngliche Nachricht-----
Von: security-dev@xml.apache.org
Gesendet: 05.06.07 07:59:24
An: <security-dev@xml.apache.org>
Betreff: Encrypt with public key

 
 
 



Hi


 


I am writing an XML exchange program in which I would like a
mechanism if acknowledgements using encrypted XML receipts.


 


The receipt is an XML file simply stating that a message has
been received. It is sent by the receiver to the sender. I would like to
encrypt the message with the public key of the sender, and then signing the
message with the private key of the receiver. 


 


Is it possible to encrypt the message using the public key
with the Apache Encryption library?


 


Thanks for your help in advance.


 


 


Kind
regards


Joseph



_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

Reply via email to