home *** CD-ROM | disk | FTP | other *** search
- // Xceed Encryption Library - Memory Encrypt sample
- // Copyright (c) 2001 Xceed Software Inc.
- //
- // [KeyPair.h]
- //
- // This form module displays properties for generating a private and a
- // public key pair. It specifically demonstrates:
- // - TODO
- //
- // This file is part of the Xceed Encryption Library sample applications.
- // The source code in this file is only intended as a supplement to Xceed
- // Encryption Library's documentation, and is provided "as is", without
- // warranty of any kind, either expressed or implied.
-
- #if !defined(AFX_KEYPAIR_H__8F9E03AB_2091_4FAA_B133_CAE0A51A6233__INCLUDED_)
- #define AFX_KEYPAIR_H__8F9E03AB_2091_4FAA_B133_CAE0A51A6233__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // KeyPair.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CKeyPair dialog
-
- class CKeyPair : public CDialog
- {
- // Construction
- public:
- CKeyPair(CWnd* pParent = NULL); // standard constructor
-
- // Dialog Data
- //{{AFX_DATA(CKeyPair)
- enum { IDD = IDD_KEYPAIR };
- CString m_sKeySize;
- CString m_sRandomSeed;
- //}}AFX_DATA
-
- void ShowForm( LPCSTR sPrivateKeyFile,
- LPCSTR sPublicKeyFile );
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CKeyPair)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
-
- // Generated message map functions
- //{{AFX_MSG(CKeyPair)
- // NOTE: the ClassWizard will add member functions here
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- void GenerateKeyPair( LPCSTR sPrivateKeyFile,
- LPCSTR sPublicKeyFile );
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_KEYPAIR_H__8F9E03AB_2091_4FAA_B133_CAE0A51A6233__INCLUDED_)
-