Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains certificate information returned from the server. This structure is used by the InternetQueryOptionfunction.

Syntax

typedef struct {
  FILETIME 
ftExpiry;
  FILETIME 
ftStart;
  LPTSTR 
lpszSubjectInfo;
  LPTSTR 
lpszIssuerInfo;
  LPTSTR 
lpszProtocolName;
  LPTSTR 
lpszSignatureAlgName;
  LPTSTR 
lpszEncryptionAlgName;
  DWORD 
dwKeySize;
} INTERNET_CERTIFICATE_INFO, *LPINTERNET_CERTIFICATE_INFO;

Members

ftExpiry

FILETIMEstructure that contains the date the certificate expires.

ftStart

FILETIMEstructure that contains the date the certificate becomes valid.

lpszSubjectInfo

Pointer to a buffer that contains the name of the organization, site, and server for which the certificate was issued.

lpszIssuerInfo

Pointer to a buffer that contains the name of the organization, site, and server that issued the certificate.

lpszProtocolName

Pointer to a buffer that contains the name of the protocol used to provide the secure connection.

lpszSignatureAlgName

Pointer to a buffer that contains the name of the algorithm used for signing the certificate.

lpszEncryptionAlgName

Pointer to a buffer that contains the name of the algorithm used for doing encryption over the secure channel (SSL/TLS) connection.

dwKeySize

Unsigned long integer value that contains the size, in TCHAR, of the key.

Remarks

Applications requesting this information must free pointers that are allocated and placed in the returned structure.

Requirements

Header wininet.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also