Re: [xmlsec] enc1 example does not exactly produce the output xml?

2003-01-06 Thread Aleksey Sanin
The session DES key is generated in the enc1/enc1.c:generateDesKey() function and loaded in the keys manager in the same function. When the data is encrypted by xmlsec library it searches the keys manager for a key for specified algorithm and sets all the required values from the key into XML da

[xmlsec] enc1 example does not exactly produce the output xml ?

2003-01-06 Thread Meg Morgan
Unless I'm mistaken, there are a few omissions in the encryption example. In order to get the element and the content "test-des3" I had to add/change the following: xmlNodePtr encKeyInfo = NULL; encKeyInfo = xmlSecEncDataAddKeyInfo(encData); // your code (cur renamed to encKeyInfo) cur = xmlS