Does C++ XSEC libraries support cannonicalization WithComments? I have one document signed and verified using Java XSEC libraries, but I can't verify it using C++ XSEC libraries. Reference digest is not valid. Here is SignedInfo:
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
<ds:Reference URI="">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform>
<ds:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"></ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>QLLUpIfi2+x6kp7Smu8riBFShAs=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
Best regards,
Milan
