CertAddRefServerOcspResponse function

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

Syntax

void CertAddRefServerOcspResponse(
  HCERT_SERVER_OCSP_RESPONSE hServerOcspResponse
);

Parameters

hServerOcspResponse

A handle to an HCERT_SERVER_OCSP_RESPONSE returned by CertOpenServerOcspResponse.

Return Value

This function has no return value.

Remarks

Each CertOpenServerOcspResponse and CertAddRefServerOcspResponse requires a corresponding CertCloseServerOcspResponse.

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