Working with Certificates in Certificate Stores

Several functions add a certificate context or a link to a context to a store.

For certificates already in certificate context form:

For certificates that are in encoded form but not full certificate contexts:

The following functions delete a certificate, CRL, or CTL from a store by decrementing its reference count by one. If this causes the reference count to become zero, the memory used to store the certificate, CRL, or CTL is freed.