Yes, search in the default keys manager gets you a copy of the key.
This is done because xmlsec allows *multiple* threads to use the same
keys manager. If you need to modify keys in the existing keys manager
then you need to worry about synchronization and it's a completely
different story :)
Since you will need to perform some extended operations on the keys
manager, I would recommend you to implement a custom one:
http://www.aleksey.com/xmlsec/api/xmlsec-notes-custom-keys-store.html
Probably, you'll just need to re-use the existing code and add
some additional functions to do what you want.
Best,
Aleksey
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec