Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

For certificates already in certificate context form, the CertAddCertificateContextToStoreand CertAddCertificateLinkToStorefunctions add a certificate context or a link to a context to a store.

For certificates that are in encoded form but not full certificate contexts, the CertAddEncodedCertificateToStorefunction adds a certificate context or a link to a context to a store.

The CertDeleteCertificateFromStorefunction deletes a certificate from a store by decrementing its reference count is decremented by one. If this causes the reference count to become zero, the memory used to store the certificate is freed.

See Also