In your document you have the name of the key used for encryption: <KeyName>RSA Public Key</KeyName>
You can specify this name in the xmlSecKey object. And I really think that you should try standalone xmlsec utility with this file and key. Aleksey _______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec