Site icon EfmSoft

What does HRESULT 0xC004D20B (SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND) mean?

 
Previous Next
SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED

SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND

Where the failure occurs in Software Protection Platform

0xC004D20B maps to SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND. This result belongs to cryptographic processing inside the security processor and narrows the operation to the provider, algorithm, key, hash, signature and block-processing stage used to authenticate protected licensing data. In concrete terms, the selected provider has no key object for the requested identifier.

This distinction matters because the key is absent, rather than present but unavailable due to state. A later “not licensed” state should not replace the first exact HRESULT in logs.

Where it sits in the licensing pipeline

Algorithm selection, key lookup, block formatting and signature verification are independent boundaries; a failure in one does not prove corruption at the others. To verify this, record provider/key IDs, expected provisioning source, creation/import events and namespace.

Cryptographic material should be logged by identifier, length, hash or thumbprint rather than by exporting secret keys or plaintext protected data.

Inputs that distinguish this condition

Why the symbolic code matters

ResultDifferent condition
SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLECompared with this result, the key identifier is known but the key cannot be used in the current protected state.
SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNEDCompared with this result, input length is not a whole multiple of the cipher block size for a mode that requires aligned data.
SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZEDCompared with it, additional data was supplied after the hash object had already been finalized.

A reproducible troubleshooting path

  1. Identify the caller and operation instance that produced 0xC004D20B.
  2. Collect the code-specific evidence: record provider/key IDs, expected provisioning source, creation/import events and namespace.

Safe recovery direction

Provision or import the authorized key and verify persistence before repeating the operation.

Representative case: A restored store references a key that was never restored with it.

Actions that usually destroy useful evidence

Technical references


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

Exit mobile version