[xmlsec] A signed xml msg can't be verified

Derek Lei Liu leiliu98 at yahoo.com
Fri Jan 3 23:46:59 PST 2003


Hi,

I construct the signed xml with xmlsec and then
attached a manually created x509 section.  Although I
can use xmlsec tool to verify the signed message
itself (without x509 section). The whole message can't
be verified due to following error: 

I am still at beginner level on xml signature stuff,
so could some expert point out to me what could went
wrong?

thanks

Derek

==================================================== 

# /usr/local/bin/xmlsec-11 verify --trusted CA.cert
./pares.txt
xmlSecTransformStateParseUri (transforms.c:1181):
error 4: xml operation failed :
xmlXPtrEval(PARes1041661547-977789)
xmlSecTransformStateCreate (transforms.c:881): error
2: xmlsec operation failed :
xmlSecTransformStateParseUri(#PARes1041661547-977789)
xmlSecReferenceRead (xmldsig.c:1602): error 2: xmlsec
operation failed : xmlSecTransformStateCreate
xmlSecSignedInfoRead (xmldsig.c:1476): error 2: xmlsec
operation failed : xmlSecReferenceRead - -1
xmlSecSignatureRead (xmldsig.c:1175): error 2: xmlsec
operation failed : xmlSecSignedInfoRead - -1
xmlSecDSigValidate (xmldsig.c:733): error 2: xmlsec
operation failed : xmlSecSignatureRead - -1
ERROR
Error: operation failed


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the xmlsec mailing list