It might happen that KeyValue is not available in
this case. I am not an expert in MSCrypto api though.
BTW, in *most* of the case you probably do not want
to have KeyValue in the signature.

Aleksey


Jürgen Heiss wrote:
When I set the Keyname like this

<dsig:KeyName>dummy</dsig:KeyName>

The file will be signed, but the KeyValue will be just insert if the certificate is a file.

If the certifiacte come from registry or a Token the keyvalue will not be set.

Is this a bug?


------------------------------------------------------------------------
*From:* Jürgen Heiss
*Sent:* Montag, 04. September 2006 09:00
*To:* [email protected]
*Subject:* Help by signing

Hi,
I sign an xml template like. xmlsec --sign --crypto mscrypto --pkcs12 c:\cert.p12 --pwd sectret c:\template.xml This works fine ;o) but how can I sign an XMl file if I don't have the certifiacte as file? I mean if the Certifiacte is in the windows registry or if the cert file is on a token or Card? Any Ideas?


------------------------------------------------------------------------

_______________________________________________
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