CertCloseServerOcspResponse function

The CertCloseServerOcspResponse function closes an online certificate status protocol (OCSP) server response handle.

Syntax

void CertCloseServerOcspResponse(
  HCERT_SERVER_OCSP_RESPONSE hServerOcspResponse,
  DWORD                      dwFlags
);

Parameters

hServerOcspResponse

The handle to close for an OCSP server response.

dwFlags

This parameter is not used and must be zero.

Return Value

This function does not return a value.

Remarks

The CertCloseServerOcspResponse function closes a handle returned by either the CertOpenServerOcspResponse or CertAddRefServerOcspResponse function.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll

See Also

CertOpenServerOcspResponse