[xmlsec] Invalid data char=B; base=10 on verify

Edward Shallow ed.shallow at rogers.com
Mon Nov 10 22:52:37 PST 2003


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: xmlsec-admin at aleksey.com [mailto:xmlsec-admin at aleksey.com] On Behalf
Of Aleksey Sanin
Sent: November 11, 2003 12:57 AM
To: Edward Shallow
Cc: xmlsec at aleksey.com
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:

>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
>  
>
>

_______________________________________________
xmlsec mailing list
xmlsec at aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec




More information about the xmlsec mailing list