[xmlsec] detached encrypted key

Aleksey Sanin aleksey at aleksey.com
Fri Oct 29 11:52:23 PDT 2004


> My questions are
> 1. When i try to decrypt the encrypted data element, 
> in the key info element, the xmlsec tries to evaluate
> the Xpointer expression for the URI attribute of 
> RetreivalMethod element and fails as "EK" is not
> registered yet.
Yes. You have to tell the parser that this is an ID
attribute.


> 
> 2. When I try to decrypt the encrypted key element, 
> xmlsec tries to replace the encrypted key element, by 
> calling xmlSecReplaceNodeBuffer, even though the Type
> attribute says "content". I got the internal parser
> error. ( there is no well formed xml data, it is key,
> so supposedly fails).
Which version of xmlsec are you using?

Aleksey





More information about the xmlsec mailing list