Try

xmlSecKeyPtr key = xmlSecKeyReadMemory( xmlSecKeyDataAesId,
                   (xmlSecByte) key_string , strlen(key_string));


Aleskey

Alexandre Kalendarev wrote:
Hi Aleksey,

If I using xmlSecKeyPtr xmlSecKeyReadMemory(), I have some errors.
Please, show examples of using xmlSecKeyReadMemory();
part of code:
char* key_string="012345670123456701234567";
xmlSecSize key_len ;
xmlSecKeyPtr key = xmlSecKeyReadMemory( xmlSecKeyDataAesId, (xmlSecByte) 
key_string , key_len);

When I have errors?

Thanks.



Alexandre Kalendarev
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to