[xmlsec] creating a ds:KeyInfo object

Aleksey Sanin aleksey at aleksey.com
Tue Dec 28 15:39:05 PST 2004

xmlsec tries to load the key from xml file and fails because
it is not one xmlsec expects (public versus private). Not sure
why your want to put stuff in KeyInfo by yourself but there are
two options:
1) Write and register in xmlsec a custom KeyData object that
would put your stuff in.
2) Do signature *with empty* KeyInfo element and write your stuff
in *after* the signature.


More information about the xmlsec mailing list