CertAddRefServerOcspResponse function (wincrypt.h)

The CertAddRefServerOcspResponse function increments the reference count for an HCERT_SERVER_OCSP_RESPONSE handle.

Syntax

void CertAddRefServerOcspResponse(
  [in] HCERT_SERVER_OCSP_RESPONSE hServerOcspResponse
);

Parameters

[in] hServerOcspResponse

A handle to an HCERT_SERVER_OCSP_RESPONSE returned by CertOpenServerOcspResponse.

Return value

None

Remarks

Each CertOpenServerOcspResponse and CertAddRefServerOcspResponse requires a corresponding CertCloseServerOcspResponse.

Requirements

Requirement Value
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