<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=細明體 size=2>Hello,</FONT></DIV>
<DIV><FONT face=MingLiu size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; There is one strange 
case.</FONT></DIV>
<DIV><FONT face=細明體 size=2>&nbsp;&nbsp;&nbsp; By using xmlSec, I was failed to 
verify XML signature with error </FONT><FONT face=細明體 size=2>'signature do not 
match' returned.</FONT></DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; But it can be successful 
verifyed by using other software. (<A 
href="http://www.infomosaic.net/XMLSign/SecureXMLVerifyWS.htm">http://www.infomosaic.net/XMLSign/SecureXMLVerifyWS.htm</A>)</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; I modified the example code 
(<A name=XMLSEC-EXAMPLE-VERIFY3><FONT 
face=新細明體>verify3.c</FONT></A>)&nbsp;to&nbsp;do this task.</FONT></DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; The message is 3-D secure 
message, I add the needed code according the FAQ 3.1, 3.2.&nbsp;</FONT></DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; I've successful to verify 
other messages. </FONT><FONT face=MingLiu size=2>But j</FONT><FONT face=MingLiu 
size=2>ust only&nbsp;this&nbsp;one is failed .</FONT></DIV>
<DIV><FONT face=MingLiu size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; Do I&nbsp;lost 
something?</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;&nbsp; Thanks.</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>aLexwU.</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>testing message:</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=MingLiu size=2>&lt;ThreeDSecure&gt;<BR>&nbsp; &lt;Message 
id="PAReq20040504000723bMiUUBqRm"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;PARes 
id="PARes11333"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;version&gt;1.0.2&lt;/version&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;Merchant&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;acqBIN&gt;11111111111&lt;/acqBIN&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;merID&gt;12AB,cd/34-EF&nbsp; 
-g,5/H-67&lt;/merID&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/Merchant&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;Purchase&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;xid&gt;MTkzOTExMzkwMDEyMzQ1Njc4OTA=&lt;/xid&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;date&gt;20030919 
12:10:43&lt;/date&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;purchAmount&gt;123456&lt;/purchAmount&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;currency&gt;840&lt;/currency&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;exponent&gt;2&lt;/exponent&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/Purchase&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;pan&gt;0000000000000771&lt;/pan&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;TX&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;time&gt;20030919 
14:19:18&lt;/time&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;status&gt;Y&lt;/status&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;cavv&gt;AAABASOUYINCIYFQKZRgAAAAAAA=&lt;/cavv&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;eci&gt;05&lt;/eci&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;cavvAlgorithm&gt;1&lt;/cavvAlgorithm&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/TX&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/PARes&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;Signature xmlns="<A 
href="http://www.w3.org/2000/09/xmldsig">http://www.w3.org/2000/09/xmldsig</A>#"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;SignedInfo xmlns="<A 
href="http://www.w3.org/2000/09/xmldsig">http://www.w3.org/2000/09/xmldsig</A>#"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;CanonicalizationMethod Algorithm="<A 
href='http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod'>http://www.w3.org/TR/2001/REC-xml-c14n-20010315"&gt;&lt;/CanonicalizationMethod</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;SignatureMethod Algorithm="<A 
href='http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod'>http://www.w3.org/2000/09/xmldsig#rsa-sha1"&gt;&lt;/SignatureMethod</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;Reference 
URI="#PARes11333"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;DigestMethod Algorithm="<A 
href='http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod'>http://www.w3.org/2000/09/xmldsig#sha1"&gt;&lt;/DigestMethod</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;DigestValue&gt;10gmc514zBMGZy2Rh75QBIqt748=&lt;/DigestValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/Reference&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/SignedInfo&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;SignatureValue&gt;jaFSdIFgkz349SwKU++mPbZLs0ImjWnMLSjPwQ4IOfpm/S+jIJkjMzbDgLMomqBwlhnvGijozscCSZXHot0D8qo1Hk1tF5h/QzJHZlo1h6+GW1j3odDmrK7Oyq5FpNYO9k7AOylSmifNccaWkdLQmuQQymWZibIuai4D9C5bdBJeWi5MawNa3GRiHH0qSQ2azIGTIlcHCkAhSkScY/qI83u/AYdSGm85wkCl88dYNN5RDJcNE0XyilbRh3Ug8MnIAaax428sJ9AQQ/kUyEBUFQEVxJjufZCruVwIE3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7JkD6rieQ8NIuj+bD83vnuhOW/nLEuLSfxk=&lt;/X509Certificate&gt;<BR>&lt;/X509Data&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/KeyInfo&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Signature&gt;<BR>&nbsp; 
&lt;/Message&gt;<BR>&lt;/ThreeDSecure&gt;</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV></BODY></HTML>