Re: Retrieving the friendly name of certificate store
From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 11/25/03
- Next message: anonymous_at_discussions.microsoft.com: "Re: What is the exact UPN format ?"
- Previous message: Susan Jones: "security on comm ports on SQL server 2003?"
- In reply to: Innokentiy Ivanov: "Retrieving the friendly name of certificate store"
- Next in thread: Innokentiy Ivanov: "Re: Retrieving the friendly name of certificate store"
- Reply: Innokentiy Ivanov: "Re: Retrieving the friendly name of certificate store"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 25 Nov 2003 09:41:26 -0500
Innokentiy,
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:
CertGetCertificateContextProperty()
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
MVP Security
"Innokentiy Ivanov" <ivanov@eldos.org> wrote in message
news:uLDXop1sDHA.2244@TK2MSFTNGP09.phx.gbl...
> 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
>
>
- Next message: anonymous_at_discussions.microsoft.com: "Re: What is the exact UPN format ?"
- Previous message: Susan Jones: "security on comm ports on SQL server 2003?"
- In reply to: Innokentiy Ivanov: "Retrieving the friendly name of certificate store"
- Next in thread: Innokentiy Ivanov: "Re: Retrieving the friendly name of certificate store"
- Reply: Innokentiy Ivanov: "Re: Retrieving the friendly name of certificate store"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|