libQuotient
A Qt library for building matrix clients
|
#include <cryptoutils.h>
Public Member Functions | |
auto | aes () const |
Key to be used for AES encryption / decryption. More... | |
auto | mac () const |
Key to be used for MAC creation / verification. More... | |
Public Member Functions inherited from Quotient::FixedBuffer< Aes256KeySize+HmacKeySize > | |
FixedBuffer (InitOptions fillMode=FillWithZeros) requires(extent ! | |
value_type * | data () requires true |
Q_IMPLICIT | operator byte_view_t< ExtentN > () const |
Q_IMPLICIT | operator byte_span_t< ExtentN > () requires true |
Public Member Functions inherited from Quotient::FixedBufferBase | |
auto | size () const |
auto | empty () const |
void | clear () |
QByteArray | viewAsByteArray () const |
Access the bytes of the fixed buffer via QByteArray interface. More... | |
QByteArray | copyToByteArray (QByteArray::size_type untilPos=-1) const |
Copy the contents of the buffer to a QByteArray. More... | |
QByteArray | toBase64 () const |
QByteArray | toBase64 (QByteArray::Base64Options options) const |
FixedBufferBase & | operator= (FixedBufferBase &&)=delete |
Additional Inherited Members | |
Public Types inherited from Quotient::FixedBufferBase | |
enum | InitOptions { Uninitialized , FillWithZeros , FillWithRandom } |
using | value_type = byte_t |
using | size_type = size_t |
Static Public Attributes inherited from Quotient::FixedBuffer< Aes256KeySize+HmacKeySize > | |
static constexpr auto | extent |
Static Public Attributes inherited from Quotient::FixedBufferBase | |
static constexpr auto | TotalSecureHeapSize = 65'536 |
Protected Member Functions inherited from Quotient::FixedBufferBase | |
FixedBufferBase (size_type bufferSize, InitOptions options) | |
~FixedBufferBase () | |
FixedBufferBase (FixedBufferBase &&other) | |
void | fillFrom (QByteArray &&source) |
value_type * | dataForWriting () |
const value_type * | data () const |
Definition at line 26 of file cryptoutils.h.
|
inline |
Key to be used for AES encryption / decryption.
Definition at line 29 of file cryptoutils.h.
|
inline |
Key to be used for MAC creation / verification.
Definition at line 31 of file cryptoutils.h.