home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / crypto / cfiler / crp.h < prev    next >
C/C++ Source or Header  |  1997-10-13  |  1KB  |  39 lines

  1. // CRP.H
  2.  
  3. #ifndef CRYPTROUTINES_INCLUDED
  4. #define CRYPTROUTINES_INCLUDED
  5.  
  6. WINAPI         EnterPass                    (HWND, UINT, UINT, LPARAM);
  7. BOOL         GetPass                        (HWND);
  8. LRESULT     WINAPI CryptDlgProc            (HWND, UINT, UINT, LPARAM);
  9. LRESULT     WINAPI EncryptDlgProc        (HWND, UINT, UINT, LPARAM);
  10. LRESULT     WINAPI HashDlgProc            (HWND, UINT, UINT, LPARAM);
  11. BOOL         Logon                        (HWND);
  12. BOOL         Logoff                        (HWND);
  13. BOOL         CFILEREncryptFile                (HWND, LPTSTR);
  14. BOOL         CFILERDecryptFile                    (HWND, LPTSTR);
  15. BOOL         GetEncryptPublicKey            (HWND, HCRYPTKEY *); 
  16. BOOL         GetSignaturePublicKey        (HWND, HCRYPTKEY *); 
  17. HCRYPTKEY     GetfnKey                    (HWND);
  18. BOOL         SignFile                    (HWND, LPTSTR);
  19. BOOL         VerifyFile                    (HWND, LPTSTR);
  20. BOOL         MakeHashDirectory            (VOID);
  21. BOOL         SHAtoRadix64                (LPBYTE, LPTSTR);
  22. VOID         Exit1                        (HWND, LPTSTR, HANDLE, HANDLE);
  23. VOID         Exit2                        (HWND, LPTSTR, HWND, HANDLE, HANDLE);
  24. BOOL         c2r64                        (INT, LPTSTR);
  25. BOOL         EncryptDir                    (HWND, LPTSTR, LPCINFO lpCInfo);
  26. BOOL         DecryptDir                    (HWND, LPTSTR, LPCINFO lpCInfo);
  27. BOOL        GenRandomName                (LPTSTR);
  28. BOOL        GenRandomName2                (LPTSTR);
  29. BOOL        HasSignature                (LPTSTR, TABLE, BOOL *);
  30. BOOL         GetDecryptedFileName        (HWND, LPTSTR, LPTSTR, HANDLE *);
  31. BOOL         GetDecryptedDirName            (HWND, LPTSTR, LPTSTR, BOOL, HANDLE *);
  32. BOOL         HideSignatures                (VOID);
  33. BOOL         ShowSignatures                (VOID);
  34. BOOL         GetSigFileName                (LPTSTR, LPTSTR);
  35. BOOL         DeleteHashDirectory            (VOID);
  36. BOOL         GetSigDir                    (LPTSTR);
  37.  
  38. #endif
  39.