[xmlsec] error in Reference URI

2006-09-04 Thread Alexandre Kalendarev
Hi Aleksey, I have error of signing document. If I use code dsig1 from examples and templates sign1-tmpl.xml result is Ok. But, if I move data tag to end of template and change the URI attribute of the Reference element, I have errors:

Re: [xmlsec] error in Reference URI

2006-09-04 Thread Aleksey Sanin
func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown: subj=xmlXPtrEval:error=5:libxml2 library function failed:expr=xpointer(id('body')) Section 3.2 from the FAQ: http://www.aleksey.com/xmlsec/faq.html Aleksey ___ xmlsec mailing list

[xmlsec] Help by signing

2006-09-04 Thread Jürgen Heiss
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

Re: [xmlsec] Help by signing

2006-09-04 Thread Aleksey Sanin
You can load key from Windows by key name which is in Windows key is equal to the certificate subject. Aleksey ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec