Retrieving Certificates

Two functions retrieve certificates from a store. CertGetIssuerCertificateFromStore retrieves a certificate based on its issuer. If both the issuer and serial number are known, use CertGetSubjectCertificateFromStore.

CertGetCRLFromStore retrieves CRL from a store.

CertVerifySubjectCertificateContext performs enabled verification checks on the subject certificate using the issuer certificate.