Re: CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID
From: Alun Jones (alun_at_texis.invalid)
Date: 10/27/05
- Next message: John Banes: "Re: Question about OffloadModExpo() Function"
- Previous message: Skywing: "Re: winlogon not loading 32 bit xxgina.dll in xp 64 bit"
- In reply to: sunit: "CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID"
- Next in thread: sunit: "Re: CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID"
- Reply: sunit: "Re: CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 27 Oct 2005 12:24:43 -0700
sunit wrote:
> I used CertSetContextProperty with CERT_KEY_PROV_INFO_PROP_ID to add
> my Private key Blob(stored in a key container) in the Certificate
> Context. .
>
> But the program 's execution is halted at CertSetContextProperty and
> a dialog Box appears(OK and CANCEL).Even the Process is not terminated
> .To terminate the process I have to use Task Manager
A description of the dialog box might be helpful, to figure out if this is
something we've seen before.
> /*here is the code*/
>
> // Declare and initialize variables.for CRYPT_KEY_PROV_INFO
> CRYPT_KEY_PROV_INFO cryptprivkeyinfo;
Any time you create a structure like this, zero it out.
"ZeroMemory(&cryptprivkeyinfo, sizeof cryptprivkeyinfo);" should do the
trick. There may be a reliance on members you aren't setting.
Alun.
~~~~
[Please don't email posters, if a Usenet response is appropriate.]
-- Texas Imperial Software | Find us at http://www.wftpd.com or email 23921 57th Ave SE | alun@wftpd.com. Washington WA 98072-8661 | WFTPD, WFTPD Pro are Windows FTP servers. Fax/Voice +1(425)807-1787 | Try our NEW client software, WFTPD Explorer.
- Next message: John Banes: "Re: Question about OffloadModExpo() Function"
- Previous message: Skywing: "Re: winlogon not loading 32 bit xxgina.dll in xp 64 bit"
- In reply to: sunit: "CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID"
- Next in thread: sunit: "Re: CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID"
- Reply: sunit: "Re: CertSetContextProperty/CERT_KEY_PROV_INFO_PROP_ID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|