I want to use the contents of the KeyInfo\X509IssuerSerial\X509SerialNumber in a SOAP/Xml message to get the signers public-key certificate, but the contents of the X509SerialNumber is a 38-digit integer value while the Serial Number of the certificate is 16-byte hexadecimal value.
I know that if I sign an Xml file with SignedXml using the X509IssuerSerial in the KeyInfo that the serial number gets converted to an integer so it must be have a specific conversion method but I can't find any documentation or examples for it.
For example, the serial number according to the certificate:
3e 69 0e 81 2b 4b 00 91 4c 28 94 9b 58 46 24 f3
The X509SerialNumber generated by SignedXml:
<ds:X509IssuerSerial>
<ds:X509IssuerName>CN=Root Agency</ds:X509IssuerName>
&nb ...
Go to the complete details ...