[xmlsec] Parameter XmlSecKeyReadBinaryFile

Aleksey Sanin aleksey at aleksey.com
Fri Apr 18 07:47:30 PDT 2008


Read the instructions at the top of encrypt1.c

Aleksey

HUDITA iulia maria wrote:
> Thanks you,
> I do not know what should be the format of the template file for the
> program encrypt1.c?
> I will try with the following. Is it correct?
> 
> <e:EncryptedData Id="_3" Type="http://www.w3.org/2001/04/xmlenc#Content"
> xmlns:e="http://www.w3.org/2001/04/xmlenc#">
>  <e:CipherData>
>      <e:CipherValue>/N84/=</e:CipherValue> 
>   </e:CipherData>
> 
> </e:EncryptedData>
> 
> Iulia.
> 
> -----Original Message-----
> From: Aleksey Sanin [mailto:aleksey at aleksey.com] 
> Sent: jeudi 17 avril 2008 19:22
> To: HUDITA iulia maria
> Cc: xmlsec at aleksey.com
> Subject: Re: [xmlsec] Parameter XmlSecKeyReadBinaryFile
> 
> Raw binary key. As it is stored in memory.
> 
> Aleksey
> 
> HUDITA iulia maria wrote:
>> Hello. Please, could you tell me what kind of file I have to give in 
>> parameter to the xmlSecKeyReadBinaryFile function? In the encrypt1.c 
>> example I've seen that I have to use a DES key from a binary file, but
> I 
>> don't understand what format should have key_file.
>>
>>  
>>
>> Thank you.
>>
>> Iulia
>>
>>  
>>
>>
>>
> ------------------------------------------------------------------------
>> _______________________________________________
>> xmlsec mailing list
>> xmlsec at aleksey.com
>> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list