libQuotient
A Qt library for building matrix clients
Quotient::PicklingKey Class Reference

#include <e2ee_common.h>

Inheritance diagram for Quotient::PicklingKey:
Collaboration diagram for Quotient::PicklingKey:

Static Public Member Functions

static PicklingKey generate ()
 
static PicklingKey fromByteArray (QByteArray &&keySource)
 
static PicklingKey mock ()
 

Additional Inherited Members

- Public Types inherited from Quotient::FixedBufferBase
enum  InitOptions { Uninitialized , FillWithZeros , FillWithRandom }
 
using value_type = byte_t
 
using size_type = size_t
 
- Public Member Functions inherited from Quotient::FixedBuffer< 128, false >
 FixedBuffer (InitOptions fillMode=FillWithZeros) requires(extent !
 
value_typedata () requires DataIsWriteable
 
Q_IMPLICIT operator byte_view_t< ExtentN > () const
 
Q_IMPLICIT operator byte_span_t< ExtentN > () requires DataIsWriteable
 
- 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
 
FixedBufferBaseoperator= (FixedBufferBase &&)=delete
 
- Static Public Attributes inherited from Quotient::FixedBuffer< 128, false >
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_typedataForWriting ()
 
const value_typedata () const
 

Detailed Description

Definition at line 268 of file e2ee_common.h.

Member Function Documentation

◆ fromByteArray()

static PicklingKey Quotient::PicklingKey::fromByteArray ( QByteArray &&  keySource)
inlinestatic

Definition at line 278 of file e2ee_common.h.

◆ generate()

static PicklingKey Quotient::PicklingKey::generate ( )
inlinestatic

Definition at line 277 of file e2ee_common.h.

◆ mock()

static PicklingKey Quotient::PicklingKey::mock ( )
inlinestatic

Definition at line 284 of file e2ee_common.h.


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