Re: CEnroll's enumContainers

From: Michel Gallant (neutron_at_nspxistar.ca)
Date: 10/27/03


Date: Mon, 27 Oct 2003 10:22:04 -0500

CAPICOM.PrivateKey.Open does not appear to function as it should, and
it is not well documented.
I believe it is *meant* to allow hooking of private keys to a certificate
without a pvk association, but this does not seem to work properly.
See CAPICOM maillist archives:
  http://discuss.microsoft.com/archives/capicom.html
and search for thread:
 "HasPrivateKey: How does it works"

 - Michel Gallant
    Visual Security MVP

"Pent" <pent> wrote in message news:eb8jXSEnDHA.3288@tk2msftngp13.phx.gbl...
> Hi all,
>
> How can I get more info on the container obtained through
> CEnroll/enumContainers or CryptGetProvParam/PP_ENUMCONTAINERS?
>
> For example, I would like to open this container with PrivateKey class of
> CAPICOM.
>
> But PrivateKey.Open fails with keyset not defined.
>
>
>