Using Win32 functions in Visual FoxPro Image Gallery
Cryptography Reference
..msdn
CertCloseStore
CertFindCertificateInStore
CertFreeCertificateContext
CertOpenSystemStore
CryptAcquireContext
CryptBinaryToString
CryptCreateHash
CryptDecrypt
CryptDeriveKey
CryptDestroyHash
CryptDestroyKey
CryptEncrypt
CryptEnumProviders
CryptEnumProviderTypes
CryptExportKey
CryptGenKey
CryptGenRandom
CryptGetDefaultProvider
CryptGetHashParam
CryptGetKeyParam
CryptGetProvParam
CryptHashData
CryptImportKey
CryptProtectData
CryptReleaseContext
CryptStringToBinary
CryptUnprotectData
WinVerifyTrust
Code examples:
A class that encrypts and decrypts files using Cryptography API Functions
CryptoAPI: Collection of Providers class
Generating random cryptographic keys
CryptDestroyKey
..msdn    Add comment     W32 Constants      Translate this page
Releases the handle referenced by the hKey parameter. After a key handle has been released, it becomes invalid and cannot be used again.
Code examples:
CryptoAPI: Collection of Providers class
Generating random cryptographic keys
A class that encrypts and decrypts files using Cryptography API Functions
Declaration:
BOOL WINAPI CryptDestroyKey(
    HCRYPTKEY hKey
);
FoxPro declaration:
DECLARE INTEGER CryptDestroyKey IN advapi32;
    INTEGER hKey
Parameters:
hKey
[in] Handle of the key to be destroyed.
Return value:
If the function succeeds, the return value is nonzero (TRUE).
My comment:
Keys take up both operating system"s memory space and the CSP"s memory space. Some CSPs are implemented in hardware with limited memory resources. Applications must destroy all keys with the CryptDestroyKey function when they are finished with them.
Word Index links for the CryptDestroyKey :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-09 21:42:05
Modified: 2004-08-09 21:43:22
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.211.79.241)
1 sec.Function: 'NetScheduleJobEnum'
Function group: 'Network Management'
2 sec.Examples
Page 4
3 sec.Function: 'waveOutOpen'
Function group: 'Windows Multimedia'
4 sec.Function: 'SQLTables'
 Function: 'SCardListReaderGroups'
5 sec.
Function group: 'Monitor Configuration (Vista)'
6 sec.Function: 'AVIStreamGetFrame'
Function group: 'Windows Multimedia'
9 sec.Solution: 'ContextMenu ActiveX Control'
12 sec.Example: 'How to assemble an array of strings and pass it to external function'
Google
Advertise here!