Finding Certificate by MD5 hash

From: Craig (anonymous_at_discussions.microsoft.com)
Date: 11/05/04


Date: Thu, 4 Nov 2004 16:27:26 -0800

Hi,

I am searching for a certificate by the MD5-hashed public
key, but it isn't finding the certificate. Should I be
creating an MD5 hash of the Public Key Info or of some
other Public Key data?

This is what I am doing:

When creating the MD5-hash, I get the CERT_PUBLIC_KEY_INFO
from the certificate. I then call CryptHashPublicKeyInfo
to create an MD5 hash of this Public Key Info.

At the end that has to search for the certificate, I read
in this MD5-Hash and store to a CRYPT_HASH_BLOB. I then
call CertFindCertificateInStore passing in the
CRYPT_HASH_BLOB and use the CERT_FIND_PUBKEY_MD5_HASH flag.

Thanks,
Craig.



Relevant Pages

  • Re: Cannot programmatically find certificate
    ... I was searching with non-unicode text ). ... I see a certificate, we'll call it ... in the Personal Certificate physical store. ... > least from the perspective of the mmc snapin). ...
    (microsoft.public.platformsdk.security)
  • Look-up offer - Brooklyn Death Cert. #10100-11760 - 1-21 May 1939
    ... Thinking of visiting your ancestral shtetls? ... and will be there until July 15th when the centre closes for their summer break. ... I will be happy to do look-ups only if you can supply the certificate number which can be determined by searching http://stevemorse.org/vital/nydeath.html. ...
    (soc.genealogy.jewish)
  • Re: NYC Marriage Licenses
    ... I'd like to add one more bit of information about searching for marriage ... indices, nor the microfilm indices at the archives, are complete. ... the only way to find the certificate is to scan through each individual record ...
    (soc.genealogy.jewish)
  • RE: No update due to Error: 0x80072F8F
    ... Your computer's date and time appear to be out of sync with an update ... certificate. ... When searching for available updates on the Update site, ...
    (microsoft.public.windowsupdate)
  • RE: No update due to Error: 0x80072F8F
    ... Your computer's date and time appear to be out of sync with an update ... certificate. ... When searching for available updates on the Update site, ...
    (microsoft.public.windowsupdate)

Quantcast