[xmlsec] detached encrypted key

nitin singh xml_prgrm at yahoo.com
Fri Oct 29 10:34:17 PDT 2004


Hello Aleksey,
I wanted to encrypt portions of my xml document using
assymetric encryption and detached encrypted key. I
followed the encryption spec, eg. given in section
2.2.2

I was abe to encrypt with detached key, without any
problems. But decryption had problems.
I understand the problem, it is like Xpointer
evaluation
 of URI attribute in RetreivalMethod fails because the
ID attribute of Encrypted Key is still not registered
with the libxml2.

I know that xmlsec registers these ID attributes only
when 
reading the Encrypted key or Encrypted Data elements.

If I read the encrypted key first then, in the data 
reference URI shall fail.( i have not tried this
approach though)

Can you please tell me how to decrypt using detached
keys.
Regards
Nitin



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 



More information about the xmlsec mailing list