WINDOWS OPERATIONS

Errors, diagnostics and rollback

The support contract defines observable events, stable error categories, retry decisions and a safe rollback path.

01

Diagnostic layers

EVT

Windows Event Log

Provider registration, key lifecycle, authentication and backend correlation.

API

NCrypt status

SECURITY_STATUS/HRESULT mapping with retryability.

BCK

Backend trace

HSM/QSCD/Trusted SIC correlation without exposing secrets.

PKG

Support bundle

Versions, configuration, redacted logs and test identifier.

02

Error categories

CategoryExampleExpected action
ConfigurationProvider not registeredRepair/reinstall; do not retry operation blindly
AuthenticationPIN/approval unavailablePrompt or fail closed under policy
PolicyAlgorithm/key operation deniedChange approved profile, not application workaround
BackendHSM/provider unavailableApply approved failover or return unavailable
DataInvalid digest/signature formatReject and record validation detail
LifecycleKey/certificate mismatchRebind or roll back under controlled procedure

03

Rollback checklist

  1. Stop new key creation.
  2. Preserve audit and provider configuration.
  3. Restore prior signed provider package.
  4. Verify existing key/certificate access.
  5. Run the rollback test corpus.
  6. Close the change record with evidence.