Windows error 0x8009002D, -2146893779

Detailed Error Information

NTE_INTERNAL_ERROR[1]

MessageAn internal consistency check failed.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code45 (0x002d)

Questions

0votes
0answers

Error while trying to set key exportable (NCRYPT_EXPORT_POLICY_PROPERTY) - 0x8009002D - Internal Error

I am trying to set key exportable after generation, I am using NCrypt: First I am calling NCryptOpenStorageProvider to initialize provider handle, after that I am calling NcryptCreatePersistedKey to create key pair. this functions works well without errors. After that I call NCryptSetProperty with NCRYPT_EXPORT_POLICY_PROPERTY: uint ret = NCryptSetProperty(Key Handle, [...] read more
c#
cryptography
smartcard
cng

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0