7#ifndef OPENSSL_SYMETRIC_CIPHER_CONTEXT_HPP
8#define OPENSSL_SYMETRIC_CIPHER_CONTEXT_HPP
13#include <openssl/evp.h>
83 EVP_CIPHER_CTX *
ctx()
const;
An OpenSSL context class.
Definition: openssl_symmetric_cipher_context.hpp:26
void setPadding(bool padding) const
Set the padding.
Definition: openssl_symmetric_cipher_context.cpp:38
EVP_CIPHER_CTX * ctx() const
Get the data.
Definition: openssl_symmetric_cipher_context.hpp:116
ByteVector & data() const
Get the data.
Definition: openssl_symmetric_cipher_context.hpp:124
void reset()
Reset the context.
Definition: openssl_symmetric_cipher_context.cpp:50
std::shared_ptr< Information > d_information
The information.
Definition: openssl_symmetric_cipher_context.hpp:111
size_t blockSize() const
Get the block size.
Definition: openssl_symmetric_cipher_context.cpp:43
OpenSSLSymmetricCipher::Method method() const
Get the method.
Definition: openssl_symmetric_cipher_context.hpp:120
A OpenSSL symmetric cipher base class.
Definition: openssl_symmetric_cipher.hpp:33
Method
A method.
Definition: openssl_symmetric_cipher.hpp:52
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
OpenSSL symmetric cipher base class.
The context information structure.
Definition: openssl_symmetric_cipher_context.hpp:31
Information & operator=(const Information &)=delete
EVP_CIPHER_CTX * ctx
The internal OpenSSL context.
Definition: openssl_symmetric_cipher_context.hpp:52
Information(const Information &other)=delete
Remove copy.
ByteVector data
An internal buffer.
Definition: openssl_symmetric_cipher_context.hpp:62
~Information()
Destructor.
Definition: openssl_symmetric_cipher_context.cpp:26
OpenSSLSymmetricCipher::Method method
The internal method.
Definition: openssl_symmetric_cipher_context.hpp:57