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.

66 lines
2.1 KiB

  1. // HashSHA1.h -- declaration of CHashSHA1
  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_HASHSHA1_H)
  8. #define SLBCSP_HASHSHA1_H
  9. #include "HashCtx.h"
  10. class CHashSHA1
  11. : public CHashContext
  12. {
  13. public:
  14. // Types
  15. // C'tors/D'tors
  16. CHashSHA1(CryptContext const &rcryptctx);
  17. ~CHashSHA1() 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. // Duplicate the hash and its state
  29. CHashSHA1(CHashSHA1 const &rhs,
  30. DWORD const *pdwReserved,
  31. DWORD dwFlags);
  32. // Operators
  33. // Operations
  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_HASHSHA1_H