Windows error 0x80090019, -2146893799

Detailed Error Information

NTE_KEYSET_NOT_DEF[1]

MessageThe keyset is not defined.
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 Code25 (0x0019)

Questions

1vote
1answer

CNG Microsoft Smart Card Key Storage Provider AcquireContext

I'm trying to acquire the Microsoft Smart Card Key Storage Provider using: CryptAcquireContext(&hProv, contName ,L"Microsoft Smart Card Key Storage Provider", PROV_RSA_FULL , flags); but, this fails with error: NTE_KEYSET_NOT_DEF (0x80090019) if I use: CryptAcquireContext(&hProv, contName ,L" Microsoft Base Smart Card Crypto Provider", PROV_RSA_FULL , flags); it works. But as far [...] read more
c++
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