Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.3 KiB

  1. // CryptObj.h -- interface for the CCryptObject class
  2. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  3. // 1999. This computer program includes Confidential, Proprietary
  4. // Information and is a Trade Secret of Schlumberger Technology Corp. All
  5. // use, disclosure, and/or reproduction is prohibited unless authorized
  6. // in writing. All Rights Reserved.
  7. // Note: This file should only be included by the CCI, not directly
  8. // by the client.
  9. #if !defined(SLBCCI_CRYPTOBJ_H)
  10. #define SLBCCI_CRYPTOBJ_H
  11. #include "cciCard.h"
  12. namespace cci
  13. {
  14. class CCryptObject
  15. {
  16. public:
  17. // Types
  18. // C'tors/D'tors
  19. // Operators
  20. // Operations
  21. // Access
  22. CCard
  23. Card();
  24. // Predicates
  25. protected:
  26. // Types
  27. // C'tors/D'tors
  28. explicit
  29. CCryptObject(CAbstractCard const &racard);
  30. virtual
  31. ~CCryptObject();
  32. // Operators
  33. bool
  34. operator==(CCryptObject const &rhs) const;
  35. // TO DO: this should be superceded by implementing singletons
  36. bool
  37. operator!=(CCryptObject const &rhs) const;
  38. // TO DO: this should be superceded by implementing singletons
  39. // Operations
  40. // Access
  41. // Predicates
  42. // Variables
  43. CCard const m_hcard;
  44. private:
  45. // Types
  46. // C'tors/D'tors
  47. // Operators
  48. // Operations
  49. // Access
  50. // Predicates
  51. // Variables
  52. };
  53. } // namespace cci
  54. #endif // SLBCCI_CRYPTOBJ_H