| Previous | Next |
| CRYPT_E_HASH_VALUE | CRYPT_E_ALREADY_DECRYPTED |
CRYPT_E_INVALID_INDEX
The caller requested a signer, recipient, certificate, CRL, or attribute by an index that is no longer valid for the current message state.
What to check for CRYPT_E_INVALID_INDEX
- Validate bounds against the count returned for the currently decoded message.
- After deleting a signer, certificate, CRL, or unauthenticated attribute through CryptMsgControl, reacquire indices; Microsoft documents that existing indices can become invalid.
- Do not reuse cached index values across a new message handle or a new decode operation.
Looking for a different code? Search another status or error code.
