<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=917020517-11112003><FONT face=Arial
color=#0000ff size=2>Yes I realized that. However it won't blow up for the
demo. I am happy.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Aleksey Sanin [mailto:aleksey@aleksey.com]
<BR><B>Sent:</B> November 11, 2003 1:56 AM<BR><B>To:</B> Edward
Shallow<BR><B>Cc:</B> xmlsec@aleksey.com<BR><B>Subject:</B> Re: [xmlsec] Invalid
data char=B; base=10 on verify<BR></FONT><BR></DIV>
<DIV></DIV>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
cite=mid20031111065204.CESK489038.fep01-mail.bloor.is.net.cable.rogers.com@inspiron
type="cite"><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>