[xmlsec] xmlsec

Alexander Trishin trial at trishin.com
Mon Dec 19 15:59:41 PST 2005


Aleksey,

I probably didn't make myself clear.
I'm looking at the code to produce a signed xml, the key info and 
certificate come from the external file for the sample.
My question is - what functions should I use to change that? So that key 
info and Certificate come from the system store, and not from the file.

Thank you in advance,
Alex

Aleksey Sanin wrote:

> I am not a big mscrypto user myself and I hope someone
> will correct my lies here... but I believe that you
> just need to put the key name (i.e. certificate subject)
> into the <KeyName> element of your signature template.
>
> Aleksey
>
> Alexander Trishin wrote:
>
>> Dear Friends,
>>
>> I'm trying to create a test console app to sign XML files with the 
>> X509 certificate. I took a look at samples provided but yet to figure 
>> out how do I sign an XML file with the Certificate that I already 
>> have in "MY" store. Certificate does have a private key.
>>
>> If someone can point me in the right direction or has sample I'd be 
>> greatly appreciated.
>>
>> Platform is Windows with ms crypto library.
>>
>> Thank you,
>> Alex.
>> _______________________________________________
>> xmlsec mailing list
>> xmlsec at aleksey.com
>> http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
>
>



More information about the xmlsec mailing list