Windows error 0x80092009, -2146885623

Detailed Error Information

CRYPT_E_NO_MATCH[1]

MessageCannot find the requested object.
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 Code8201 (0x2009)

Questions

3votes
0answers

How to get the signer's company name from a memory signed file data?

I use the CryptQueryObject function to get HCRYPTMSG* phMsg. The dwObjectType is CERT_QUERY_OBJECT_BLOB and the pvObject is a CERT_BLOB (set the memory data point and size) pointer. It can work in windows7, but has problem in Vista. In Vista, it will return error code 0x80092009 ("cannot find the requested object"). [...] read more
c++
windows
winapi
2votes
2answers

Programmatically getting the digital signature's digest algorithm for msi files in C++

I want to get the actual signature's algorithm (not the certificate's digest algorithm)­ that was used for signing a Windows installer file (msi). Using Microsoft's crypt API, I was able to get what I want for exe's easily. By 1st getting the HCRYPTMSG, then getting the signer information size, then [...] read more
winapi
windows-installer
digital-signature
0votes
0answers

Importing .PEM key on Windows 7 on the command line

I am looking to import three PEM files, two certs plus a key, with this answer working to add the PEM certificates: * The RSA key is generated by GCP for a MySQL instance and I receive this import error: CertUtil –AddStore -Enterprise –f "Root" C:\Certificates\client-key.pem CertUtil: -AddStore command FAILED: [...] read more
windows
powershell
rsa
0votes
2answers

How to use ssl certificate in uwp

I using my test certificate in uwp. I'm not sure where is wrong, so that's why I'm here. My steps: 1, open Package.appxmanifest, go to Capabilities, check Shared User Certificates. 2, go to Declarations, select Certificates and add it. On the right area, Click Add New, in Store name field, [...] read more
c#
ssl
uwp
0votes
0answers

'Cannot find the requested object' Error loading *private key* into X509Certificate2 in .Net Core

We're using the System.Security.Cryptography.X509Certificates component in a .Net Core application and running into this error trying to load a private key. The only functionality that we need for the certificate is to decrypt a string and check the NotAfter value. The line of code that errors out is: var cert [...] read more
.net-core
x509certificate2
0votes
1answer

CryptQueryObject fails with CRYPT_E_NO_MATCH error in managed code but works fine in unmanaged one

I've been struggling with this bug for over a day and I appreciate if anyone could help me shed some light on it. It all started from this question. My goal was to retrieve digital signature information on a signed .js file. (The file was originally signed by Microsoft's signtool.) [...] read more
c#
asp.net
.net
winapi
digital-signature
0votes
2answers

Retrieve information about digital signature of a non-exe file?

I know that I can use the following code to retrieve information about a digital signature of an executable file using X509Certificate class: X509Certificate cert = X509Certificate.CreateFromSignedFile("MySignedProgram.exe"); string certSubject = cert.Subject; My question is how to retrieve a digital certificate details from a non-exe file, for instance, a signed .js [...] read more
c#
.net
windows
digital-signature
digital-certificate
0votes
2answers

Where is ODATA EF for VWD 2010 Express?

I'm currently using VWD 2010 Express and am interested in exploring WCF REST in more detail, but I can't find "ADO.NET Entity Data Model" template or any information on how to install it. Is it correct that this is also referred to as ODATA Entity Framework? I'm wanting to create [...] read more
visual-studio-2010
entity-framework-4
ado.net
wcf-data-services
vwdexpress

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