myzmlm
2008-03-27 18:31:14 UTC
I know there is an undocumented API InternetGetCertByURL for accessing
certificate. But I always get 0 from this call. There is another API
InternetQueryOption(hFile,INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT,
&sInfo, &dwSize)) used to get Certificate information, but not
certificate itself. Anyone knows other API used to get certificate
from web site, espicially in BHO? Thanks.
certificate. But I always get 0 from this call. There is another API
InternetQueryOption(hFile,INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT,
&sInfo, &dwSize)) used to get Certificate information, but not
certificate itself. Anyone knows other API used to get certificate
from web site, espicially in BHO? Thanks.