Re: How are CSPs selected by Apps (e.g. Outlook)

From: David Cross [MS] (dcross_at_online.microsoft.com)
Date: 10/25/04


Date: Mon, 25 Oct 2004 05:15:25 -0700

The certificate contains an external property KEY_PROV_INFO which points to
the key container. The key container specifies the CSP in which it is
stored. So, it is not really magic, it all depends on which CSP stored
and/or generated the key.

-- 
David B. Cross [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
http://support.microsoft.com
"Jack" <jack_abcd76@yahoo.de> wrote in message 
news:%23hWXhlnuEHA.1400@TK2MSFTNGP11.phx.gbl...
> Hello!
>
> I wondered, how Applications like Outlook or any others, where you can
> assign a certificate to a certain profile, user or person choose the CSP 
> to
> use. Is the CSP Name stored in the certficate?
> I created two certificates, one by a smartcard CSP and one by a Microsoft
> CSP. When accessing mails in Outlook, the appropriate CSPs are used. So,
> where is this information stored?
> And when does an app choose the default provider?
>
> Thank you
> Jack
>
> 


Relevant Pages

  • Re: SmartCard CSP and CA certificate enrollment
    ... Store for each of the two keys in the ... 'default' container on the smart card. ... CSP Design & Development Consulting ... enrolls for a certificate, the Certificate Enrollment Wizard offers the ...
    (microsoft.public.platformsdk.security)
  • RE: Storing certificate on a hardware token (SC)
    ... The usual way is to get context to the token's CSP (each token vendor has its ... Next you create a container and within that ... KP_CERTIFICATE to add the cert to the key. ... Note that in order to use the certificate from generic Windows applications ...
    (microsoft.public.platformsdk.security)
  • How to use custom CSP with Outlook?
    ... I wondered how I may use my custom CSP with outlook. ... the certificate somewhat with the CSP, and the e-mail of the Outlook account ...
    (microsoft.public.platformsdk.security)
  • RE: CSPs and Certificate Extensions
    ... This matches the calls that are made to my CSP that I ... That means the problem is occurring when the certificate is being accessed - ... CPSignHash is called with the key spec set to AT_KEYEXCHANGE. ... of the IE certificate store. ...
    (microsoft.public.platformsdk.security)
  • Custom CSP in Office 2003?
    ... I've developed a custom CSP. ... However, in Office 2003, I found my CSP ... Provider type is PROV_RSA_SIG. ... Here's how I register the certificate into system cert store: ...
    (microsoft.public.platformsdk.security)