CRP.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- // CRP.H
- #ifndef CRYPTROUTINES_INCLUDED
- #define CRYPTROUTINES_INCLUDED
- WINAPI EnterPass (HWND, UINT, UINT, LPARAM);
- BOOL GetPass (HWND);
- LRESULT WINAPI CryptDlgProc (HWND, UINT, UINT, LPARAM);
- LRESULT WINAPI EncryptDlgProc (HWND, UINT, UINT, LPARAM);
- LRESULT WINAPI HashDlgProc (HWND, UINT, UINT, LPARAM);
- BOOL Logon (HWND);
- BOOL Logoff (HWND);
- BOOL CFILEREncryptFile (HWND, LPTSTR);
- BOOL CFILERDecryptFile (HWND, LPTSTR);
- BOOL GetEncryptPublicKey (HWND, HCRYPTKEY *);
- BOOL GetSignaturePublicKey (HWND, HCRYPTKEY *);
- HCRYPTKEY GetfnKey (HWND);
- BOOL SignFile (HWND, LPTSTR);
- BOOL VerifyFile (HWND, LPTSTR);
- BOOL MakeHashDirectory (VOID);
- BOOL SHAtoRadix64 (LPBYTE, LPTSTR);
- VOID Exit1 (HWND, LPTSTR, HANDLE, HANDLE);
- VOID Exit2 (HWND, LPTSTR, HWND, HANDLE, HANDLE);
- BOOL c2r64 (INT, LPTSTR);
- BOOL EncryptDir (HWND, LPTSTR, LPCINFO lpCInfo);
- BOOL DecryptDir (HWND, LPTSTR, LPCINFO lpCInfo);
- BOOL GenRandomName (LPTSTR);
- BOOL GenRandomName2 (LPTSTR);
- BOOL HasSignature (LPTSTR, TABLE, BOOL *);
- BOOL GetDecryptedFileName (HWND, LPTSTR, LPTSTR, HANDLE *);
- BOOL GetDecryptedDirName (HWND, LPTSTR, LPTSTR, BOOL, HANDLE *);
- BOOL HideSignatures (VOID);
- BOOL ShowSignatures (VOID);
- BOOL GetSigFileName (LPTSTR, LPTSTR);
- BOOL DeleteHashDirectory (VOID);
- BOOL GetSigDir (LPTSTR);
- #endif