[xmlsec] using xmlSecKeyReadMemory ()

Aleksey Sanin aleksey at aleksey.com
Fri Apr 21 07:42:03 PDT 2006


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
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list