What does HRESULT 0x80091001 (CRYPT_E_MSG_ERROR) mean?

 
Previous Next
SEC_E_INVALID_UPN_NAME CRYPT_E_UNKNOWN_ALGO

CRYPT_E_MSG_ERROR

The failure came from a CryptoAPI cryptographic-message operation. It is a wrapper-level status: the useful diagnosis is the API call, message format, and earlier error that led to it.

What to check

  • Record whether the code came from decoding, signature verification, decryption, or message control; those operations have different prerequisites.
  • Keep the original message bytes and their transport metadata so the failure can be reproduced without altering the payload.
  • Inspect the first specific error produced while processing the message rather than treating this generic status as a certificate-trust failure.

Microsoft: CryptMsgOpenToDecode

Microsoft: CryptMsgGetParam


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