<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Well, the actually won't work correctly: 0x10 != 10 Most likely in
your case<br>
you have more information about the cert that is used if search by
serial number <br>
fails. But it's just an acident :(<br>
<br>
Aleksey<br>
<br>
<br>
<br>
Edward Shallow wrote:<br>
<blockquote type="cite"
cite="mid20031111065204.CESK489038.fep01-mail.bloor.is.net.cable.rogers.com@inspiron">
<pre wrap="">Thanks a million. Turns out that any "hex" characters in the serial number
(e.g. 1D) will cause the problem. Certs with only numbers in them work.
Thanks again,
Ed
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:xmlsec-admin@aleksey.com">xmlsec-admin@aleksey.com</a> [<a class="moz-txt-link-freetext" href="mailto:xmlsec-admin@aleksey.com">mailto:xmlsec-admin@aleksey.com</a>] On Behalf
Of Aleksey Sanin
Sent: November 11, 2003 12:57 AM
To: Edward Shallow
Cc: <a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
Subject: Re: [xmlsec] Invalid data char=B; base=10 on verify
The problem is caused by incorrect conversion of a big integer to a string.
Instead of using base 10 the function incorrectly used base 16. Thus you'll
get incorrect numbers sometime. This function is used in writing
<dsig:X509SerialNumber/> thus you got it only when you've used this node in
your template.
Aleksey
Edward Shallow wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks,
Is there any specific characters that cause or are affected by this
problem ? I don't get it for many schemas and documents ?
I have a demo tomorrow and was wandering if I could work around it ?
Ed
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext" href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
</body>
</html>