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
CryptGenKey
CryptGenRandom
CryptGetDefaultProvider
CryptGetHashParam
CryptGetKeyParam
CryptGetProvParam
CryptHashData
CryptProtectData
CryptReleaseContext
CryptStringToBinary
CryptUnprotectData
WinVerifyTrust
Code examples:
CryptoAPI: Collection of Providers class
CryptGetKeyParam
..msdn    Add comment     W32 Constants      Translate this page
Retrieves data that governs the operations of a key.
Code examples:
CryptoAPI: Collection of Providers class
Declaration:
 
BOOL WINAPI CryptGetKeyParam(
    HCRYPTKEY hKey,
    DWORD dwParam,
    BYTE* pbData,
    DWORD* pdwDataLen,
    DWORD dwFlags
);
 
FoxPro declaration:
 
DECLARE INTEGER CryptGetKeyParam IN advapi32;
    INTEGER   hKey,;
    INTEGER   dwParam,;
    STRING  @ pbData,;
    INTEGER @ pdwDataLen,;
    INTEGER   dwFlags
 
 
Parameters:
hKey
[in] Handle to the key being queried.

dwParam
[in] Specifies the query being made.

pbData
[out] Pointer to a sequence of BYTEs to receive the data.

pdwDataLen
[in, out] Pointer to a DWORD value specifying the size, in bytes, of the buffer pointed to by the pbData parameter.

dwFlags
[in] Reserved for future use and must be zero.
Return value:
If the function succeeds, the return value is nonzero (TRUE).
My comment:
If the Microsoft Cryptographic Service Provider is used, the base symmetric keying material is not obtainable by this function or any other function.
Word Index links for the CryptGetKeyParam :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-09 21:43:57
Modified: 2004-08-09 21:46:38
Visited in last 7 days: 41
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.67.55)
6 sec.Example: 'Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)'
1.04 hrs.Example: 'How to retrieve information about a cache entry (Internet Explorer)'
 Example: 'Using the LoadImage function to have a bitmap file loaded and displayed on VFP main window'
5.14 hrs.Example: 'GDI+: Using Scale and Shear transformations'
 Example: 'Locking the workstation'
11.91 hrs.Function: 'GdipCreateFromHWND'
12.02 hrs.Example: 'Using the GetLogicalDriveStrings'
 Function: 'waveInClose'
Function group: 'Windows Multimedia'
18.76 hrs.Function: 'CoTaskMemFree'
Function group: 'COM'
1 day(s)Function: 'SQLFreeHandle'
Google
Advertise here!