AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Utils::Crypto::Sha256 Class Reference

#include <Sha256.h>

Inheritance diagram for Aws::Utils::Crypto::Sha256:
[legend]

Public Member Functions

 Sha256 ()
 
virtual ~Sha256 ()
 
virtual HashResult Calculate (const Aws::String &str) override
 
virtual HashResult Calculate (Aws::IStream &stream) override
 
virtual void Update (unsigned char *buffer, size_t bufferSize) override
 
virtual HashResult GetHash () override
 

Public Member Functions inherited from Aws::Utils::Crypto::Hash

 Hash ()
 
virtual ~Hash ()
 

Additional Inherited Members

Static Public Attributes inherited from Aws::Utils::Crypto::Hash

static const uint32_t INTERNAL_HASH_STREAM_BUFFER_SIZE = 8192
 

Detailed Description

Sha256 hash implementation.

Definition at line 38 of file Sha256.h.

Constructor & Destructor Documentation

◆ Sha256()

Aws::Utils::Crypto::Sha256::Sha256 ( )

Initializes platform crypto libs.

◆ ~Sha256()

virtual Aws::Utils::Crypto::Sha256::~Sha256 ( )
virtual

Member Function Documentation

◆ Calculate() [1/2]

virtual HashResult Aws::Utils::Crypto::Sha256::Calculate ( Aws::IStream stream)
overridevirtual

Calculates a Hash digest on a stream (the entire stream is read)

Implements Aws::Utils::Crypto::Hash.

◆ Calculate() [2/2]

virtual HashResult Aws::Utils::Crypto::Sha256::Calculate ( const Aws::String str)
overridevirtual

Calculates a SHA256 Hash digest (not hex encoded)

Implements Aws::Utils::Crypto::Hash.

◆ GetHash()

virtual HashResult Aws::Utils::Crypto::Sha256::GetHash ( )
overridevirtual

Get the result in the current value

Implements Aws::Utils::Crypto::Hash.

◆ Update()

virtual void Aws::Utils::Crypto::Sha256::Update ( unsigned char *  buffer,
size_t  bufferSize 
)
overridevirtual

Updates a Hash digest

Implements Aws::Utils::Crypto::Hash.


The documentation for this class was generated from the following file: