Source code of Windows XP (NT5)
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.

56 lines
2.2 KiB

  1. // KeyPair.cpp -- CKeyPair class definition
  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. //////////////////////////////////////////////////////////////////////
  8. #include "NoWarning.h"
  9. #include "CryptFctry.h"
  10. #include "cciKeyPair.h"
  11. using namespace cci;
  12. /////////////////////////// LOCAL/HELPER /////////////////////////////////
  13. /////////////////////////// PUBLIC /////////////////////////////////
  14. // Types
  15. // C'tors/D'tors
  16. CKeyPair::CKeyPair(ValueType *p)
  17. : SuperClass(p)
  18. {}
  19. CKeyPair::CKeyPair(CCard const &rhcard,
  20. CContainer const &rhcont,
  21. KeySpec ks)
  22. : SuperClass(rhcard->MakeKeyPair(rhcont, ks))
  23. {}
  24. // Operators
  25. // Operations
  26. // Access
  27. // Predicates
  28. // Static Variables
  29. /////////////////////////// PROTECTED /////////////////////////////////
  30. // C'tors/D'tors
  31. // Operators
  32. // Operations
  33. // Access
  34. // Predicates
  35. // Static Variables
  36. /////////////////////////// PRIVATE /////////////////////////////////
  37. // C'tors/D'tors
  38. // Operators
  39. // Operations
  40. // Access
  41. // Predicates
  42. // Static Variables