![]() |
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. | |
| auto | mac () const |
| Key to be used for MAC creation / verification. | |
Public Member Functions inherited from Quotient::FixedBuffer< Aes256KeySize+HmacKeySize > | |
| FixedBuffer (InitOptions fillMode=FillWithZeros) | |
| FixedBuffer (size_type bufferSize) | |
| FixedBuffer (size_type bufferSize, InitOptions fillMode) | |
| value_type * | data () |
| const value_type * | data () const |
| Q_IMPLICIT | operator byte_view_t< ExtentN > () const |
| Q_IMPLICIT | operator byte_span_t< ExtentN > () |
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. | |
| QByteArray | copyToByteArray (QByteArray::size_type untilPos=-1) const |
| Copy the contents of the buffer to a QByteArray. | |
| 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 20 of file cryptoutils.h.
|
inline |
Key to be used for AES encryption / decryption.
Definition at line 23 of file cryptoutils.h.
|
inline |
Key to be used for MAC creation / verification.
Definition at line 25 of file cryptoutils.h.