Windows error 0x8009001B, -2146893797

Detailed Error Information

NTE_PROV_TYPE_NO_MATCH[1]

MessageProvider type does not match registered value.
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 Code27 (0x001b)

Questions

2votes
1answer

Microsoft's cryptoAPI "Microsoft Enhanced RSA and AES Cryptographic Provider" selection doesn't working on win7

I want to use AES 256 bit enncrytion for data and it is provided by "MS_ENH_RSA_AES_PROV" .For that When I tried running below code with pszProviderName=TEXT("MS_ENH_RSA_AES_PROV") as 3rd parameter of CryptAcquireContext, I get output something like Error number 80090019 .This error code means "The requested provider does not exist". #include [...] read more
visual-c++
encryption
aes
cryptoapi
mscapi

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