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.

64 lines
2.3 KiB

  1. // cciPriKey.h: interface for the CPrivateKey class.
  2. //
  3. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  4. // 1999. This computer program includes Confidential, Proprietary
  5. // Information and is a Trade Secret of Schlumberger Technology Corp. All
  6. // use, disclosure, and/or reproduction is prohibited unless authorized
  7. // in writing. All Rights Reserved.
  8. //////////////////////////////////////////////////////////////////////
  9. #if !defined(SLBCCI_PRIKEY_H)
  10. #define SLBCCI_PRIKEY_H
  11. #include <slbRCPtr.h>
  12. #include "cciCard.h"
  13. #include "APriKey.h"
  14. namespace cci
  15. {
  16. class CPrivateKey
  17. : public slbRefCnt::RCPtr<CAbstractPrivateKey,
  18. slbRefCnt::DeepComparator<CAbstractPrivateKey> >
  19. {
  20. public:
  21. // Types
  22. // C'tors/D'tors
  23. CPrivateKey(ValueType *p = 0);
  24. CPrivateKey(CCard const &rhcard,
  25. ObjectAccess oa = oaPrivateAccess);
  26. // Operators
  27. // Operations
  28. // Access
  29. // Predicates
  30. protected:
  31. // Types
  32. // C'tors/D'tors
  33. // Operators
  34. // Operations
  35. // Access
  36. // Predicates
  37. // Variables
  38. private:
  39. // Types
  40. typedef slbRefCnt::RCPtr<ValueType,
  41. slbRefCnt::DeepComparator<ValueType> > SuperClass;
  42. // C'tors/D'tors
  43. // Operators
  44. // Operations
  45. // Access
  46. // Predicates
  47. // Variables
  48. };
  49. } // namespace cci
  50. #endif // !defined(SLBCCI_PRIKEY_H)