What does HRESULT 0x8009000A (NTE_BAD_TYPE) mean?

 
Previous Next
NTE_BAD_FLAGS NTE_BAD_KEY_STATE

NTE_BAD_TYPE

NTE_BAD_TYPE means that the cryptographic provider received an object or provider type that is not valid for the requested operation. This often happens when a key specification, blob format, or provider type is used with the wrong API path.

How to correct it

  • Check the declared type of every key, provider, blob, and output object passed to the failing API.
  • Do not interchange handles or blob formats across incompatible CryptoAPI and CNG calls.
  • Use the API-specific import, acquisition, and release functions for the selected provider family.

Microsoft: security and setup HRESULT values


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