Re: Retrieving the friendly name of certificate store
From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: Tue, 25 Nov 2003 09:41:26 -0500
The "Friendly Name" of a certificate is a CryptoAPI "Extended Property"
Extended Properties are not actually part of the X509 v3 certificate but
are associated with the certificate when maintained in CryptoAPI cert stores.
It is editable. You can get it using:
with dwPropID = CERT_FRIENDLY_NAME_PROP_ID
Note that when you export the certificate and move it, the Friendly Name
is lost (like other Extended Properties).
- Michel Gallant
"Innokentiy Ivanov" <firstname.lastname@example.org> wrote in message
> Hello, All!
> Is there any way to get the friendly name of a system/physical certificate
> store (i.e. the name that is displayed by Windows certificate import wizard)
> ? CertGetStoreProperty always returns CRYPT_E_NOT_FOUND (we have performed
> the test on several Win2000 machines).
> Thanks a lot.
> Sincerely yours,
> Innokentiy Ivanov
> EldoS Corp.
> SecureBlackbox - your way to secure Internet connections