What does HRESULT 0x80092008 (CRYPT_E_DELETED_PREV) mean?

 
Previous Next
CRYPT_E_SELF_SIGNED CRYPT_E_NO_MATCH

CRYPT_E_DELETED_PREV

A certificate or CRL context used by the caller was deleted previously. The application is attempting to use a context whose underlying store entry is no longer valid for the intended operation.

What to check

  • Trace the context lifetime and the code path that deletes or replaces certificates or CRLs.
  • Acquire a fresh context from the store after a deletion or store refresh instead of reusing stale references.
  • Avoid concurrent store updates that invalidate contexts while another operation is enumerating or using them.

Microsoft: Managing certificates with certificate stores

Microsoft: CertFindCertificateInStore


Looking for a different code? Search another status or error code.