[xmlsec] Encrypt with DES and RSA key wrap

Edward Shallow ed.shallow at rogers.com
Sun Jul 13 21:40:49 PDT 2003

Hi Aleksey,

Got it working (i.e. 3des-kt-rsa) with the command line below and the above
template, attached for others. 

xmlsec encrypt --pubkey-pem EdShallowPub.pem --session-key des-192
--xml-data encrypt1-doc.xml --node-name Salary --output
encrypted-3des-kt-RSA.xml tmpl-EPM-encrypt-3des-kt-RSA.xml

Apologize for not being more diligent before posting previous dumb question.



-----Original Message-----
From: xmlsec-admin at aleksey.com [mailto:xmlsec-admin at aleksey.com] On Behalf
Of Aleksey Sanin
Sent: July 13, 2003 3:08 PM
To: Edward Shallow
Cc: xmlsec at aleksey.com

Take a look at the <ds:KeyInfo/> element. It says that default namespace is
dsig namespace. Thus, you got <EncryptedKey/> node in dsig namespace which
is defenetly wrong.


xmlsec mailing list
xmlsec at aleksey.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: encrypted-3des-kt-RSA.xml
Type: text/xml
Size: 1295 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20030714/780ff8b9/encrypted-3des-kt-RSA.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpl-EPM-encrypt-3des-kt-RSA.xml
Type: text/xml
Size: 863 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20030714/780ff8b9/tmpl-EPM-encrypt-3des-kt-RSA.xml

More information about the xmlsec mailing list