Re: Changing private key protection to strong
From: Ryan Menezes [MSFT] (ryanmen_at_online.microsoft.com)
Date: 10/13/04
- Previous message: Larry: "Changing private key protection to strong"
- In reply to: Larry: "Changing private key protection to strong"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 12 Oct 2004 15:44:20 -0700
If I understand you correct, are you asking if its possible to change the
protection level of an existing private key on disk? The answer to that is:
No, its not possible.
-- Thanks, Ryan Menezes [MS] This posting is provided "AS IS" with no warranties, and confers no rights. "Larry" <Larry@discussions.microsoft.com> wrote in message news:6D911EFC-EFC5-4E3F-A43E-5D27A4280605@microsoft.com... > I have certificates in a system store that don't have strong private key > protection. I need to programmatically change this (so that the message box > is always displayed, prompting the user for the password). I figured that I > would us DPAPI (CryptProtectData) to accomplish this. A couple of questions > that I have now is: > 1) Is this the correct way to do this? > 2) What do I pass CryptProtectData as the first parameter - DATA_BLOB (the > certificate or private key or something else) > 3) If what I am passing in is the private key, how (which function call) do > I use to get it? > > Thanks for your help! > > Larry
- Previous message: Larry: "Changing private key protection to strong"
- In reply to: Larry: "Changing private key protection to strong"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|