AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
Go to the documentation of this file.
6 #include <aws/cal/symmetric_cipher.h>
10 struct aws_symmetric_cipher;
23 Ready = AWS_SYMMETRIC_CIPHER_READY,
24 Finalized = AWS_SYMMETRIC_CIPHER_FINALIZED,
25 Error = AWS_SYMMETRIC_CIPHER_ERROR,
77 operator
bool() const noexcept;
88 inline
int LastError() const noexcept {
return m_lastError; }
108 bool FinalizeEncryption(
ByteBuf &out) noexcept;
126 bool FinalizeDecryption(
ByteBuf &out) noexcept;
131 bool Reset() noexcept;
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition: Allocator.cpp:24
std::unique_ptr< T, std::function< void(T *)> > ScopedResource
Definition: Types.h:163
static const size_t AES_256_KEY_SIZE_BYTES
Definition: SymmetricCipher.h:19
SymmetricCipherState
Definition: SymmetricCipher.h:22
SymmetricCipher & operator=(const SymmetricCipher &)=delete
SymmetricCipher(const SymmetricCipher &)=delete
AWS_CRT_CPP_API int LastError() noexcept
Definition: Api.cpp:422
SymmetricCipher(SymmetricCipher &&) noexcept=default
Definition: Optional.h:18
Definition: SymmetricCipher.h:29
aws_byte_buf ByteBuf
Definition: Types.h:30
#define AWS_CRT_CPP_API
Definition: Exports.h:37
static const size_t AES_256_CIPHER_BLOCK_SIZE
Definition: SymmetricCipher.h:18
Definition: Allocator.h:11
aws_byte_cursor ByteCursor
Definition: Types.h:31
aws_allocator Allocator
Definition: Allocator.h:14