Share via


CertFreeCertificateChain (Compact 2013)

3/28/2014

This function frees a certificate chain by reducing its reference count. If the reference count becomes zero, memory allocated for the chain is freed.

Syntax

void WINAPI CertFreeCertificateChain(
  PCCERT_CHAIN_CONTEXT pChainContext
);

Parameters

  • pChainContext
    [in] Pointer to a CERT_CHAIN_CONTEXT structure's certificate chain context to be freed. If the reference count on the context reaches zero, the storage allocated for the context is freed.

Return Value

None.

Requirements

Header

wincrypt.h

Library

crypt32.lib

See Also

Reference

Certificates Functions
CertGetCertificateChain
CERT_CHAIN_CONTEXT