> Could
> you tell me if there is some flag or some method that I can use to bypass
> the error/function call for keyinfo when using the load function (which
> eventually calls this function).

Nope. That's a bug. Skipping the extension may be a viable fix to get around
the exception, but the code overall isn't really equipped to provide the
functionality you need to handle extensions.

Probably the least invasive fix would be a patch that adds a generic
DSIGKeyInfoExtension type to handle anything that isn't built-in, and just
expose the DOM.

I have my own XML wrappers for all my work, partly because of this kind of
problem, but I have to rely on load() in xmlsec to handle the signature
node, and then I lose control and the ability to wrap the XML myself to
handle extensions properly. I just haven't run into this bug because I
haven't tried to handle an extension there.

-- Scott


Reply via email to