共用方式為


INTERNET_CERTIFICATE_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

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
    FILETIME structure that contains the date the certificate expires.
  • ftStart
    FILETIME structure 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

Reference

InternetQueryOption
WinInet Structures

Other Resources

FILETIME