AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MD5.h
1
6 /*
7 * Interface for Sha256 encryptor and hmac
8 */
9#pragma once
10
11#include <aws/core/Core_EXPORTS.h>
12#include <aws/core/utils/crypto/Hash.h>
13#include <aws/core/utils/Outcome.h>
14
15namespace Aws
16{
17 namespace Utils
18 {
19 namespace Crypto
20 {
24 class AWS_CORE_API MD5 : public Hash
25 {
26 public:
30 MD5();
31 virtual ~MD5();
32
36 virtual HashResult Calculate(const Aws::String& str) override;
37
41 virtual HashResult Calculate(Aws::IStream& stream) override;
42
46 virtual void Update(unsigned char* buffer, size_t bufferSize) override;
47
51 virtual HashResult GetHash() override;
52
53 private:
54 std::shared_ptr<Hash> m_hashImpl;
55 };
56
57 } // namespace Crypto
58 } // namespace Utils
59} // namespace Aws
60
virtual HashResult GetHash() override
virtual HashResult Calculate(Aws::IStream &stream) override
virtual HashResult Calculate(const Aws::String &str) override
virtual void Update(unsigned char *buffer, size_t bufferSize) override
std::basic_istream< char, std::char_traits< char > > IStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97