| Previous | Next |
| CRYPT_E_ALREADY_DECRYPTED | CRYPT_E_RECIPIENT_NOT_FOUND |
CRYPT_E_NOT_DECRYPTED
The caller requested content or state that is available only after an enveloped message has been decrypted.
What to check for CRYPT_E_NOT_DECRYPTED
- Confirm that the blob is an enveloped message and that decryption completed successfully before retrieving plaintext-dependent data.
- Check that a suitable recipient certificate and private key were supplied to the decryption operation.
- Keep decode, recipient selection, and decryption steps in the correct order.
Microsoft: CryptDecryptMessage
Microsoft: CRYPT_DECRYPT_MESSAGE_PARA
Diagnostic discriminator: Check whether the message has completed decryption before requesting data that exists only in the decrypted state. This result is a message-state precondition, not a decryption algorithm failure itself.
Looking for a different code? Search another status or error code.
