home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / Chip_2002-09_cd1.bin / zkuste / vbasic / Data / Utils / XZipComp.exe / XceedEncryption.Cab / F112995_RSAVerify.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-28  |  1.2 KB  |  46 lines

  1. #ifndef __RSAVERIFY_H__
  2. #define __RSAVERIFY_H__
  3.  
  4. /* Xceed Encryption Library - RSAVerify Sample Application
  5.  * Copyright (c) 2001 Xceed Software Inc.
  6.  *
  7.  * [RSAVerify.h]
  8.  *
  9.  * This console application shows how to verify a file or a message.
  10.  * It specifically demonstrates:
  11.  *  - The ReadFile and Verify methods.
  12.  *  - The Signature, PublicKey and SigningMethod properties.
  13.  *
  14.  * This file is part of the Xceed Encryption Library sample 
  15.  * applications. The source code in this file is only intended as 
  16.  * a supplement to Xceed Encryption Library's documentation, 
  17.  * and is provided "as is", without warranty of any kind, either 
  18.  * expressed or implied. 
  19.  */
  20.  
  21. //
  22. // The Visual C++ compiler will automatically generate wrapper classes 
  23. // around available interfaces found in this type library.
  24. //
  25.  
  26. #import "XceedCRY.dll" no_namespace named_guids
  27.  
  28. //
  29. // Constants
  30. //
  31.  
  32. //Size of the buffer used to read characters from the console.
  33. #define BUFFER_SIZE   0x4000
  34.  
  35. //
  36. // Prototypes
  37. //
  38.  
  39. void ShowHelp();
  40.  
  41. bool ExtractParameters( int argc, char* argv[],
  42.                         IXceedSigningPtr piVerify, 
  43.                         _bstr_t& bstrInputFileName );
  44.  
  45. #endif // __RSAVERIFY_H__
  46.