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 () requires(extent !
 
uint8_t * data () requires DataIsWriteable
 
QUO_IMPLICIT operator byte_view_t< ExtentN > () const
 
QUO_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_t bufferSize, InitOptions options)
 
 ~FixedBufferBase ()
 
 FixedBufferBase (FixedBufferBase &&other)
 
void fillFrom (QByteArray &&source)
 
uint8_t * dataForWriting ()
 
const uint8_t * data () const
 

Detailed Description

Definition at line 297 of file e2ee_common.h.

Member Function Documentation

◆ fromByteArray()

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

Definition at line 307 of file e2ee_common.h.

◆ generate()

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

Definition at line 306 of file e2ee_common.h.

◆ mock()

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

Definition at line 313 of file e2ee_common.h.


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