CertCloseServerOcspResponse function (wincrypt.h)

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

Syntax

void CertCloseServerOcspResponse(
  [in] HCERT_SERVER_OCSP_RESPONSE hServerOcspResponse,
  [in] DWORD                      dwFlags
);

Parameters

[in] hServerOcspResponse

The handle to close for an OCSP server response.

[in] dwFlags

This parameter is not used and must be zero.

Return value

None

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