AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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

#include <CRC32.h>

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

Public Member Functions

 CRC32 ()
 
virtual ~CRC32 ()
 
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

CRC32 hash implementation.

Definition at line 38 of file CRC32.h.

Constructor & Destructor Documentation

◆ CRC32()

Aws::Utils::Crypto::CRC32::CRC32 ( )

Initializes platform crypto libs for crc32.

◆ ~CRC32()

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

Member Function Documentation

◆ Calculate() [1/2]

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

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

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

◆ Calculate() [2/2]

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

Calculates a CRC32 Hash digest

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

◆ GetHash()

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

Get the result in the current value

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

◆ Update()

virtual void Aws::Utils::Crypto::CRC32::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: