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

  1. // Xceed Encryption Library - Memory Encrypt sample
  2. // Copyright (c) 2001 Xceed Software Inc.
  3. //
  4. // [KeyPair.h]
  5. //
  6. // This form module displays properties for generating a private and a
  7. // public key pair. It specifically demonstrates:
  8. //  - TODO
  9. //
  10. // This file is part of the Xceed Encryption Library sample applications.
  11. // The source code in this file is only intended as a supplement to Xceed
  12. // Encryption Library's documentation, and is provided "as is", without
  13. // warranty of any kind, either expressed or implied.
  14.  
  15. #if !defined(AFX_KEYPAIR_H__8F9E03AB_2091_4FAA_B133_CAE0A51A6233__INCLUDED_)
  16. #define AFX_KEYPAIR_H__8F9E03AB_2091_4FAA_B133_CAE0A51A6233__INCLUDED_
  17.  
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // KeyPair.h : header file
  22. //
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CKeyPair dialog
  26.  
  27. class CKeyPair : public CDialog
  28. {
  29. // Construction
  30. public:
  31.     CKeyPair(CWnd* pParent = NULL);   // standard constructor
  32.  
  33. // Dialog Data
  34.     //{{AFX_DATA(CKeyPair)
  35.     enum { IDD = IDD_KEYPAIR };
  36.     CString    m_sKeySize;
  37.     CString    m_sRandomSeed;
  38.     //}}AFX_DATA
  39.  
  40.   void ShowForm( LPCSTR sPrivateKeyFile,
  41.                  LPCSTR sPublicKeyFile );
  42.  
  43. // Overrides
  44.     // ClassWizard generated virtual function overrides
  45.     //{{AFX_VIRTUAL(CKeyPair)
  46.     protected:
  47.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  48.     //}}AFX_VIRTUAL
  49.  
  50. // Implementation
  51. protected:
  52.  
  53.     // Generated message map functions
  54.     //{{AFX_MSG(CKeyPair)
  55.         // NOTE: the ClassWizard will add member functions here
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58.  
  59.   void GenerateKeyPair( LPCSTR sPrivateKeyFile, 
  60.                         LPCSTR sPublicKeyFile );
  61. };
  62.  
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65.  
  66. #endif // !defined(AFX_KEYPAIR_H__8F9E03AB_2091_4FAA_B133_CAE0A51A6233__INCLUDED_)
  67.