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: 40
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.224.75.101)
4.16 hrs.Example: 'Drawing Windows frame controls using the DrawFrameControl function'
 Function: 'MAPIFreeBuffer'
4.46 hrs.Function: 'ReleaseCapture'
 Example: 'Enumerating print processors and supporting data types installed on the specified server'
4.57 hrs.Example: 'GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)'
 Function: 'RegisterRawInputDevices'
14.11 hrs.Function: 'GdipSetClipRectI'
Function group: 'GDI+ Graphics'
17.22 hrs.Example: 'Simple MAPI: how to resolve a name to unique address list entry'
 Example: 'Mapping and disconnecting network drives'
Language: 'Visual FoxPro'
19.54 hrs.Example: 'How to display Windows On-Screen Keyboard'
Google
Advertise here!