<html>
<head>
<style>P {margin-top:2px;margin-bottom:2px;}</style>
</head>
<body>
<P>I try to verify signature using info of <x509Data> element.</P>
<P>Signature is follow.</P>
<P> </P>
<P><?xml version="1.0" encoding="UTF-8"?><BR><Envelope xmlns="urn:envelope"><BR> <Data><BR> Hello, World!<BR> </Data><BR> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><BR> <SignedInfo><BR> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><BR> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><BR> <Reference URI=""><BR> <Transforms><BR> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><BR> </Transforms><BR> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><BR> <DigestValue>9H/rQr2Axe9hYTV2n/tCp+3UIQQ=</DigestValue><BR> </Reference><BR> </SignedInfo><BR> <SignatureValue>meSE9vU3J9R1/ZmeLLcR7swATefF6Tq7jcR+BMd+AdRMVk1KnCgxymHVfCSzxEuSWgvPzUA/hEWu7Xh3atg0zhkD25FWhG48z+gxqDqm9rW2CAQ3Q1auQ+F8Zb6eDVS6REpPLy5UbdqXF7QPbBEYJK0mv4U+f9xnQR88Hgg54oE=</SignatureValue><BR> <KeyInfo><BR> <keyValue/><BR> <X509Data><BR><X509Certificate><BR>MIICUjCCAbsCBTEyMzQ1MA0GCSqGSIb3DQEBBAUAMIGaMQswCQYDVQQGEwJLUjESMBAGA1UE<BR>CBMJQ2hvb25nTmFtMRAwDgYDVQQHEwdZb29TdW5nMQ0wCwYDVQQKEwRFVFJJMRswGQYDVQQL<BR>ExJEUk0gRGV2ZWxvcGVyIFRlYW0xFTATBgNVBAMTDEVUUkkgU29od2FuZzEiMCAGCSmGSIb3<BR>DQEJARYTc293aGFuZ0BldHJpLnJlLm5ldDAeFw0wMjA1MDEwMDE5MzdaFw0wMzA1MDIwNDEw<BR>MDBaMEQxCzAJBgNVBAYTAktSMQ4wDAYDVQQIEwVTZW91bDEPMA0GA1UEBxMGR29vbkphMRQw<BR>EgYDVQQKEwtTZWpvbmcgVW5pdjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEArEkqKvki<BR>EyMrB+KL+eh2Z3AVEVksEmy/S+lBwhcGOBOL8+LXHsM8LQNhp1dvFrdt9EqC1OUceI4nScmr<BR>y9fpc3aMGgaJ6s+uX13WCHyj2ymB+ZIb+pYy8K0KHk5wUeg84CYk+yTIFmX8EIUeNJwqtm13<BR>KNMAxQ00yse7ZhmvBisCAwEAATANBgkqhkiG9w0BAQQFAAOBgQCDkBvHtUGxiAevrXYkmEx/<BR>3dOmpCjbL9WzkvIO/XNdfLwgMlK7jyOxE7emrjqtnUjclU7r4ST6woqUigKfoKEYVFAfjOzR<BR>i3cMEXCeewyDKThc3BL9bxW5aMUirsI1AeppPvKqMs9rl8MUowe8La+icsUeinVjRZnGB1qP<BR>y20S7g==<BR></X509Certificate><BR></X509Data><BR> </KeyInfo><BR> </Signature><BR></Envelope></P>
<P> </P>
<P>But verification failed because x509_STORE_CTX's error attribute assigns X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY in X509_verify_cert().</P>
<P> </P>
<P>What is wrong?</P>
<P> </P>
<P>System Environment</P>
<P> -XMLSEC lib : 0.0.7</P>
<P> -OS : Windows XP</P>
<P> -OpenSSL : 0.9.6D</P>
<P> -Certificate : Self Signed</P>
<img src='http://mail.freechal.com/messagecenter/email/RcvCheck.asp?uid=25138748&userid=kjho80&key=NRTOWDLRHWEUJMESERZKBT0' width=1 height=1><br><br><br><br><table align="center" border="0" cellpadding="0" cellspacing="0" width="572" height="49"><tr><td width="258" height="25"><a href="http://home.freechal.com/etc/event/fms/FMSEvent20.asp"><img src="http://218.145.54.39/common/slogan/05.gif" border="0"></a><br></td></tr></table></body>
</html>