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.

65 lines
2.1 KiB

  1. // HashSHAMD5.h -- declaration of CHashSHAMD5
  2. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  3. // 1988. 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. #if !defined(SLBCSP_HASHSHAMD5_H)
  8. #define SLBCSP_HASHSHAMD5_H
  9. #include "HashCtx.h"
  10. class CHashSHAMD5
  11. : public CHashContext
  12. {
  13. public:
  14. // Types
  15. // C'tors/D'tors
  16. CHashSHAMD5(CryptContext const &rcryptctx);
  17. ~CHashSHAMD5() throw();
  18. // Operators
  19. // Operations
  20. std::auto_ptr<CHashContext>
  21. Clone(DWORD const *pdwReserverd,
  22. DWORD dwFlags) const;
  23. // Access
  24. // Predicates
  25. protected:
  26. // Types
  27. // C'tors/D'tors
  28. // Operators
  29. // Operations
  30. // Duplicate the hash and its state
  31. CHashSHAMD5(CHashSHAMD5 const &rhs,
  32. DWORD const *pdwReserved,
  33. DWORD dwFlags);
  34. // Access
  35. Blob
  36. EncodedAlgorithmOid();
  37. // Predicates
  38. // Variables
  39. private:
  40. // Types
  41. // C'tors/D'tors
  42. // Operators
  43. // Operations
  44. // Access
  45. // Predicates
  46. // Variables
  47. };
  48. #endif // SLBCSP_HASHSHAMD5_H