[xmlsec] Urgent help needed for canonicalization method

Aleksey Sanin aleksey at aleksey.com
Mon Jun 1 07:29:52 PDT 2009


The URL is *wrong* "http://www.w3.org/2006/12/xml-c14n11"

Aleksey

Ashish Agrawal wrote:
> 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
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec


More information about the xmlsec mailing list