Re: CEnroll's enumContainers

From: Pent (pent)
Date: 10/27/03


Date: Mon, 27 Oct 2003 10:51:18 -0500

I have a different goal. I've decided to enumerate existing containers with
enumContainers and I found that I have over a 1000 of them. So i would like
to do some cleanup.

Does anyone know if there is any way to get more info about the container
other than just it's name?

btw, how does one delete container through CAPICOM?

"Michel Gallant" <neutron@nspxistar.ca> wrote in message
news:%23rSDj4JnDHA.3320@tk2msftngp13.phx.gbl...
> 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.
> >
> >
> >
>
>



Relevant Pages

  • Howto use certificate stored on the server
    ... server's "MY" container from ASP.NET authenticated session ... I tried CAPICOM and successfully created the object, ... EnablePromptForCertificateUI = False ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: CEnrolls enumContainers
    ... Does anyone know if it's one private key/certificate per container? ... > To delete keycontainer (with linked certificate) via CAPICOM: ...
    (microsoft.public.platformsdk.security)
  • Re: Export list of users in each OU
    ... Perhaps a workboot for each container under accounts. ... The first step is to enumerate all containers (domains, OU's, and container ... Sub EnumDomains(ByVal objParent) ... ' Recursive subroutine to enumerate users in domains. ...
    (microsoft.public.windows.server.scripting)
  • Re: Export list of users in each OU
    ... I dont want to do the entire domain, but a specific container. ... The first step is to enumerate all containers (domains, OU's, and container ... Sub EnumDomains(ByVal objParent) ... ' Recursive subroutine to enumerate users in domains. ...
    (microsoft.public.windows.server.scripting)
  • Enumerate everything below and including Domain users?
    ... Domain users, one called a users and one called b users. ... What do I need to add to this script to get it two enumerate everything ... Dim OutPutFile ... 'Enumerate Container ...
    (microsoft.public.scripting.vbscript)