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:
Verifying a file using the Authenticode policy provider
WinVerifyTrust
..msdn    Add comment     W32 Constants      Translate this page
Performs a trust verification action on a specified object. The function passes the inquiry to a trust provider that supports the action identifier, if one exists.
Code examples:
Verifying a file using the Authenticode policy provider
Declaration:
LONG WINAPI WinVerifyTrust(
  __in  HWND hWnd,
  __in  GUID *pgActionID,
  __in  LPVOID pWVTData
);

FoxPro declaration:
DECLARE LONG WinVerifyTrustIN wintrust;
    LONG hWnd,
    STRING pgActionID,
    STRING pWVTData
Parameters:
hWnd [in]
Optional handle to a caller window.

pgActionID [in]
A pointer to a GUID structure that identifies an action and the trust provider that supports that action. This value indicates the type of verification action to be performed on the structure pointed to by pWinTrustData.

pWVTData [in]
A pointer that, when cast as a WINTRUST_DATA structure, contains information that the trust provider needs to process the specified action identifier. Typically, the structure includes information that identifies the object that the trust provider must evaluate.
Return value:
If the trust provider verifies that the subject is trusted for the specified action, the return value is zero.
Usage:
nResult = WinVerifyTrustAPI(0,;
    WINTRUST_ACTION_GENERIC_VERIFY_V2,;
    cWintrustInfo)
My comment:
The Software Publisher Trust Provider can verify that an executable image file comes from a trusted software publisher and that the file has not been modified since it was published.

In this case, the pWinTrustData parameter specifies the name of the file and the type of file, such as a Microsoft Portable Executable image file or a Java class file.
Word Index links for the WinVerifyTrust :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2010-10-07 08:09:26
Modified: 2010-10-07 08:13:01
Visited in last 7 days: 84
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.156.67.122)
12 sec.Function: 'IsNetworkAlive'
24 sec.Function: 'GetDIBits'
38 sec.Function: 'CloseWindow'
50 sec.Function: 'UuidFromString'
1.05 min.Function: 'OpenProcessToken'
1.28 min.Function: 'WindowFromDC'
1.53 min.Function: 'capCreateCaptureWindow'
1.75 min.Function: 'GdipSetPageScale'
1.93 min.Function: 'CertFreeCertificateContext'
2.15 min.Function: 'CryptUnprotectData'
Google
Advertise here!