windows-nt/Source/XPSP1/NT/ds/security/csps/cryptoflex/slbcsp/hashmd2.h
2020-09-26 16:20:57 +08:00

66 lines
2.1 KiB
C++

// HashMD2.h -- declaration of CHashMD2
// (c) Copyright Schlumberger Technology Corp., unpublished work, created
// 1988. This computer program includes Confidential, Proprietary
// Information and is a Trade Secret of Schlumberger Technology Corp. All
// use, disclosure, and/or reproduction is prohibited unless authorized
// in writing. All Rights Reserved.
#if !defined(SLBCSP_HASHMD2_H)
#define SLBCSP_HASHMD2_H
#include "HashCtx.h"
class CHashMD2
: public CHashContext
{
public:
// Types
// C'tors/D'tors
CHashMD2(CryptContext const &rcryptctx);
~CHashMD2() throw();
// Operators
// Operations
std::auto_ptr<CHashContext>
Clone(DWORD const *pdwReserverd,
DWORD dwFlags) const;
// Access
// Predicates
protected:
// Types
// C'tors/D'tors
// Duplicate the hash and its state
CHashMD2(CHashMD2 const &rhs,
DWORD const *pdwReserved,
DWORD dwFlags);
// Operators
// Operations
// Access
Blob
EncodedAlgorithmOid();
// Predicates
// Variables
private:
// Types
// C'tors/D'tors
// Operators
// Operations
// Access
// Predicates
// Variables
};
#endif // SLBCSP_HASHMD2_H