[xmlsec] Signing a template with mscrypto

Dmitry Belyavsky beldmit at cryptocom.ru
Thu Dec 8 07:53:04 PST 2005


On Thu, 8 Dec 2005, Aleksey Sanin wrote:

> > I verify the signature using xmlsec.exe --verify signed.xml.
> >
> > Whether xmlsec tries to retrieve them before xmlSecKeysMngrGetKey?
> Do you have any errors on the output?

Yes, I do...
=============
func=:file=..\src\keys.c:line=1364:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec library function failed: ;last error=-2146885628 (0x80092004);last error msg=Cannot find object or property.

func=:file=..\src\xmldsig.c:line=871:obj=unknown:subj=unknown:error=45:key is not found: ;last error=-2146885628 (0x80092004);last error msg=Cannot find object or property.

func=:file=..\src\xmldsig.c:line=565:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function failed: ;last error=-2146885628 (0x80092004);last error msg=Cannot find object or property.

func=:file=..\src\xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed: ;last error=-2146885628 (0x80092004);last error msg=Cannot find object or property.

Error: signature failed
ERROR
SignedInfo References (ok/all): 1/1
Manifests References (ok/all): 0/0
Error: failed to verify file "signed.xml"
=================
I've attached the signed file, hope it helps.

Thank you!

-- 
SY, Dmitry Belyavsky (ICQ UIN 11116575)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signed.xml
Type: application/xml
Size: 1946 bytes
Desc: 
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20051208/5bf654dd/signed-0002.rdf


More information about the xmlsec mailing list