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

Crypter interface. More...

#include <Crypter.h>

Inheritance diagram for sese::security::evp::Crypter:
sese::security::evp::Decrypter sese::security::evp::Encrypter

Public Member Functions

virtual ~Crypter ()=default
 
virtual int update (void *out, int &out_len, const void *in, int in_len) const noexcept=0
 Process data.
 
virtual int final (void *out, int &out_len) const noexcept=0
 Process final data.
 

Detailed Description

Crypter interface.

Constructor & Destructor Documentation

◆ ~Crypter()

virtual sese::security::evp::Crypter::~Crypter ( )
virtualdefault

Member Function Documentation

◆ final()

virtual int sese::security::evp::Crypter::final ( void * out,
int & out_len ) const
pure virtualnoexcept

Process final data.

Parameters
outPointer to the output buffer
out_lenNumber of bytes in the output buffer
Returns
Number of bytes processed, negative if failed

Implemented in sese::security::evp::Decrypter, and sese::security::evp::Encrypter.

◆ update()

virtual int sese::security::evp::Crypter::update ( void * out,
int & out_len,
const void * in,
int in_len ) const
pure virtualnoexcept

Process data.

Parameters
outPointer to the output buffer
out_lenNumber of bytes in the output buffer
inPointer to the input buffer
in_lenSize of the input buffer
Returns
Number of bytes processed, negative if failed

Implemented in sese::security::evp::Decrypter, and sese::security::evp::Encrypter.


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