[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: Key Deletion
From:       Jayant Sane <jayant () FRONTIERTECH ! COM>
Date:       1999-08-21 14:06:08
[Download RAW message or body]


You can use CryptAcquireContext to get rid of the container itself. Am
unsure if it is possible to selectively and permanently delete a particular
key in a container.

-Jayant

> -----Original Message-----
> From: Microsoft Cryptographic API
> [mailto:CryptoAPI@DISCUSS.MICROSOFT.COM]On Behalf Of Phanish_Tubagere
> Sent: Saturday, August 21, 1999 8:33 AM
> To: CryptoAPI@DISCUSS.MICROSOFT.COM
> Subject: Key Deletion
>
>
> Hi All,
>
> I wanted to know whether I can delete a specific key from the key
> container.
>
>
> I can generate a new Key using CryptGenKey(AT_KEY_EXCHANGE).
> When I use CryptDestroyKey() only the reference to the key is deleted and
> not the key.So when I use  CryptGetUserKey() after
> CryptDestroyKey() I will
> be able to get a reference to the Key that was created using CryptGenKey.
>
> Is there any way so that I can delete the key from the Key
> Container so that
> I will not be able to access without creating the Key again.
>
> Bye
> Phanish
> Name    : T.N. Phanish
> Address : 68, Esteem towers,
>                 Railway Parallel Road,
>                 Kumara Park West,
>                 Bangalore - 20
> Email Id : phanish_tubagere@bet.satyam.com
>
> ----------------------------------------------------------------
> Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
> contains important info including how to unsubscribe.  Save time, search
> the archives at http://discuss.microsoft.com/archives/index.html

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic