Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::security::evp::SHA1Context Class Reference

EVP SHA1 algorithm context. More...

#include <SHA1Context.h>

Inheritance diagram for sese::security::evp::SHA1Context:
sese::security::evp::Context

Public Member Functions

 SHA1Context () noexcept
 
 ~SHA1Context () noexcept override
 
void update (const void *buffer, size_t len) noexcept override
 
void final () noexcept override
 
void * getResult () noexcept override
 
size_t getLength () noexcept override
 
- Public Member Functions inherited from sese::security::evp::Context
 Context ()=default
 
virtual ~Context () noexcept=default
 

Private Attributes

size_t length = 20
 
uint8_t result [20] {}
 
void * context = nullptr
 

Additional Inherited Members

- Public Types inherited from sese::security::evp::Context
using Ptr = std::unique_ptr<Context>
 

Detailed Description

EVP SHA1 algorithm context.

Constructor & Destructor Documentation

◆ SHA1Context()

sese::security::evp::SHA1Context::SHA1Context ( )
noexcept

References context.

◆ ~SHA1Context()

sese::security::evp::SHA1Context::~SHA1Context ( )
overridenoexcept

Member Function Documentation

◆ final()

void sese::security::evp::SHA1Context::final ( )
overridevirtualnoexcept

◆ getLength()

size_t sese::security::evp::SHA1Context::getLength ( )
overridevirtualnoexcept

◆ getResult()

void * sese::security::evp::SHA1Context::getResult ( )
overridevirtualnoexcept

◆ update()

void sese::security::evp::SHA1Context::update ( const void * buffer,
size_t len )
overridevirtualnoexcept

Member Data Documentation

◆ context

void* sese::security::evp::SHA1Context::context = nullptr
private

Referenced by SHA1Context().

◆ length

size_t sese::security::evp::SHA1Context::length = 20
private

◆ result

uint8_t sese::security::evp::SHA1Context::result[20] {}
private

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