[xmlsec] Signing a template with mscrypto

Dmitry Belyavsky beldmit at cryptocom.ru
Wed Dec 7 13:04:35 PST 2005


Greetings!

On Wed, 7 Dec 2005, Aleksey Sanin wrote:

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

What does it mean "by type"? Should I provide cert's DN as key name to
solve my problem?

Thank you!

-- 
SY, Dmitry Belyavsky (ICQ UIN 11116575)



More information about the xmlsec mailing list