Re: Custom certificate store provider

From: Juan Segarra (juan.segarra_at_alumail.uji.es)
Date: 10/29/04


Date: Fri, 29 Oct 2004 10:29:01 +0200

Register your Store Provider with enconding type 0. Then you'll be able
to open the Store like this:

    hFStore = CertOpenStore("2.10.1.2.3.5.7.11.13.17.19",
      0,
      NULL,
      CERT_SYSTEM_STORE_CURRENT_USER,
      nil );

Innokentiy Ivanov wrote:
> Hello, dear Community.
>
> I am writing my own certificate store provider. I have registered my custom
> provider with CryptRegisterOIDFunction (passing there certain OID, e.g.
> "2.10.1.2.3.5.7.11.13.17.19") and CryptInstallOIDFunctionAddress. It has
> registered properly, but the call to CertOpenStore function always fails and
> GetLastError returns 2 (file not found). I am using CertOpenStore with
> following parameters:
>
> hFStore = CertOpenStore("2.10.1.2.3.5.7.11.13.17.19",
> X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
> 0,
> CERT_SYSTEM_STORE_CURRENT_USER,
> nil );
>
> Am I doing something wrong?
>
> Thank you.
>
> With best regards,
> Innokentiy Ivanov



Relevant Pages

  • Re: [BUG] IO-APIC + timer doesnt work!
    ... Could you try if writing 'delta' a second time makes any difference on ... value register needs to reset as well. ... I've provided a patch to partially ...
    (Linux-Kernel)
  • Re: [BUG] IO-APIC + timer doesnt work!
    ... Could you try if writing 'delta' a second time makes any difference on ... value register needs to reset as well. ... Software Clears the main counter by writing a value of 00000000h to it. ...
    (Linux-Kernel)
  • Re: [BUG] IO-APIC + timer doesnt work!
    ... Could you try if writing 'delta' a second time makes any difference on ... value register needs to reset as well. ... I've provided a patch to partially ...
    (Linux-Kernel)
  • 2 million voters by year end...lets help to chart the countrys future.
    ... are passionate about making a difference in our community. ... and ultimately as a nation. ... you first have to register as a voter… ... We are targeting 20,000 people for the 2 day launch. ...
    (soc.culture.malaysia)
  • Re: [BUG] IO-APIC + timer doesnt work!
    ... Could you try if writing 'delta' a second time makes any difference on ... value register needs to reset as well. ... It sets the same register twice. ... nice to somehow come up with a line of reasoning that ends with: ...
    (Linux-Kernel)