Hi,
I am able add certificate on to store on the device from my application.But
on the device, when importing, if the cert has an associated private key, it
should to go into the Personal Store. If the cert doesn't have a private key,
it goes to the Intermediate store.
Currently i am able add all the certs only to the personal store.So after
enumerating the certificates,before adding i want to check if the certificate
has a associated private key,if so i want to add that to persoanle store else
to intermediate store.

Thank in advance!

Re: Importing Certificate to respective store. by Scott

Scott
Mon Feb 18 11:07:46 CST 2008

Are you asking how to check if a cert in a PFX has a private key assoicated
with it? Or how to add a cert to a different store?

--
Scott Yost
Software Development Engineer/Test
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

"Sunil Jois" <SunilJois@discussions.microsoft.com> wrote in message
news:4D581BAA-E869-4A12-B150-4CBF2038BA2A@microsoft.com...
> Hi,
> I am able add certificate on to store on the device from my
> application.But
> on the device, when importing, if the cert has an associated private key,
> it
> should to go into the Personal Store. If the cert doesn't have a private
> key,
> it goes to the Intermediate store.
> Currently i am able add all the certs only to the personal store.So after
> enumerating the certificates,before adding i want to check if the
> certificate
> has a associated private key,if so i want to add that to persoanle store
> else
> to intermediate store.
>
> Thank in advance!
>
>