[xmlsec] Urgent help needed for canonicalization method

Ashish Agrawal meetashish at gmail.com
Mon Jun 1 05:16:52 PDT 2009


Hi All,

I have a signature.xml which i am trying to verify using xmlsec,
it fails with the error:
func=xmlSecTransformNodeRead:file=transforms.c:line=1511:obj=unknown:subj=xmlSecTransformIdListFindByHref:error=1:xmlsec
library function failed:href=http://www.w3.org/2006/12/xml-c14n11
func=xmlSecTransformCtxNodeRead:file=transforms.c:line=666:obj=unknown:subj=xmlSecTransformNodeRead:error=1:xmlsec
library function failed:name=CanonicalizationMethod
func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=702:obj=unknown:subj=xmlSecTransformCtxNodeRead:error=1:xmlsec
library function failed:node=CanonicalizationMethod
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=560:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec
library function failed:
func=xmlSecDSigCtxVerify:file=xmldsig.c:line=379:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec
library function failed:
Error: signature verify


In the signature file the canonicalization method is given as
:http://www.w3.org/2006/12/xml-c14n11

I have one more sig file where the canonical method
is:http://www.w3.org/TR/2001/REC-xml-c14n-20010315 and this works
fine.

Can you pls suggest if there is a problem with the new canonical
method or is it nor supported ?

Regards,
Ashish


More information about the xmlsec mailing list