[xmlsec] Signing a template with mscrypto

Aleksey Sanin aleksey at aleksey.com
Wed Dec 7 08:40:56 PST 2005


>> The errors mean that xmlsec can not find the key. Usually,
>> signature keys are either provided by application directly
>> (e.g. specified in xmlsec utility command line) or retrieved
>> from keys manager by name provided in the signature template.
>> I believe sign1-tmpl.xml was using the second option.
> 
> But the original sign1-tmpl.xml is signed without errors and places
> signature having correct size, though id doesn't provide any KeyName.
> 
> How do I provide name in signature template for mscrypto?
> 
The key is found "by type". You can simply put key name into
KeyName element and it should do it.

Aleksey



More information about the xmlsec mailing list