CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext
From: yangy (leonardyan_at_gmail.com)
Date: 01/17/05
- Next message: Rhett Gong [MSFT]: "Re: Remote authentication to a stand-alone Win2k Workstation on a Workgroup"
- Previous message: Owen Roberts: "Re: PFXImportCertStore"
- Next in thread: Jack: "Re: CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext"
- Reply: Jack: "Re: CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext"
- Reply: Doug Barlow: "Re: CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 16 Jan 2005 18:35:45 -0800
Hi
I hope someone can help clear something up for me. I created a new Key
Container at the start of my application using CryptAcquireContext
(with CRYPT_NEWKEYSET flag).
My question relates to proper cleanup. Do I call CryptReleaseContext
first then call CrptAcquireContext to delete the key container I
created at the start. Or does it matter?
Thanks
- Next message: Rhett Gong [MSFT]: "Re: Remote authentication to a stand-alone Win2k Workstation on a Workgroup"
- Previous message: Owen Roberts: "Re: PFXImportCertStore"
- Next in thread: Jack: "Re: CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext"
- Reply: Jack: "Re: CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext"
- Reply: Doug Barlow: "Re: CRYPT_NEWKEYSET ,CRYPT_DELETEKEYSET and CryptReleaseContext"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|