Discussion:
Certificate lpszSubjectInfo format
(too old to reply)
drm
2007-06-08 15:20:02 UTC
Permalink
In our client aplication, I'm using InternetQueryOption to object a
INTERNET_CERTIFICATE_INFO structure after posting an ssl request. The
lpszSubjectInfo appears to have the certificate Country, State, City,
Organization etc. separated by CR/LF's. The 6th and final item is the domain.

What factors might impact the format of lpszSubjectInfo? Could a new
version of wininet, a using different webserver, using a different CA impact
what this looks like? I want to make sure we don't have to upgrade our
client if any of those things change.
Scherbina Vladimir
2007-07-03 10:12:55 UTC
Permalink
The order of elemements in the structure should not be changed. If any
changes will be done, they will take place at the end of a structure, thus
old clients would not crash.
--
Vladimir, Windows SDK MVP
Post by drm
In our client aplication, I'm using InternetQueryOption to object a
INTERNET_CERTIFICATE_INFO structure after posting an ssl request. The
lpszSubjectInfo appears to have the certificate Country, State, City,
Organization etc. separated by CR/LF's. The 6th and final item is the domain.
What factors might impact the format of lpszSubjectInfo? Could a new
version of wininet, a using different webserver, using a different CA impact
what this looks like? I want to make sure we don't have to upgrade our
client if any of those things change.
Loading...