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
[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