While implementing support for the mscrypto library, I ran into the
following problem:

Serial number of an X509 certificate is written in xml as an integer.
This means that a ASN1 encoded integer has to be converted to a string
containing a decimal number. Unfortunately until now I have found no way
within MS Crypto API to get this done, and I think it is not possible
with that library. It is possible to get a hex string representation of
the number (thanks to the code of Remy :), but would anyone know how to
convert this (either ASN.1 byte array, of hex string) to decimal
representation??? Any suggestion or idea on this is welcome.

Wouter
-- 
Wouter Ketting



_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to