次の方法で共有


HSE_REQ_GET_CERT_INFO_EX

This support function specifies the certificate context for the first certificate in the client's certificate chain.

BOOL ServerSupportFunction(
      HCONN ConnID,
      DWORD dwServerSupportFunction,
      LPVOID lpvBuffer,
      LPDWORD lpdwSizeofBuffer,
      LPDWORD lpdwDataType
);

Parameters

  • ConnID
    Specifies the connection identifier of the client to which the response data should be sent.

  • dwServerSupportFunction
    The name of the Server Support function, which in this case must be set to HSE_REQ_GET_CERT_INFO_EX.

  • lpvBuffer
    Points to the CERT_CONTEXT_EX Structure data structure that contains an allocated CERT_CONTEXT buffer.

  • lpdwSizeofBuffer
    Unused in this ServerSupportFunction request type.

  • lpdwDataType
    Unused in this ServerSupportFunction request type.

Remarks

To use this support function, your ISAPI extension must first create a new CERT_CONTEXT_EX structure. The primary member of that structure is the CryptoAPI CERT_CONTEXT structure. You must allocate the buffer that is embedded in the CERT_CONTEXT structure.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in httpext.h.