Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QCryptographicHashPrivate Class Reference
+ Collaboration diagram for QCryptographicHashPrivate:

Classes

union  State
 

Public Member Functions

 QCryptographicHashPrivate (QCryptographicHash::Algorithm method) noexcept
 
 ~QCryptographicHashPrivate ()
 
void reset () noexcept
 
void addData (QByteArrayView bytes) noexcept
 
bool addData (QIODevice *dev)
 
void finalize () noexcept
 
void finalizeUnchecked () noexcept
 
QByteArrayView resultView () const noexcept
 
 QCryptographicHashPrivate (QCryptographicHash::Algorithm method) noexcept
 
 ~QCryptographicHashPrivate ()
 
void reset () noexcept
 
void addData (QByteArrayView bytes) noexcept
 
bool addData (QIODevice *dev)
 
void finalize () noexcept
 
void finalizeUnchecked () noexcept
 
QByteArrayView resultView () const noexcept
 

Static Public Member Functions

static bool supportsAlgorithm (QCryptographicHash::Algorithm method)
 
static bool supportsAlgorithm (QCryptographicHash::Algorithm method)
 

Public Attributes

union QCryptographicHashPrivate::State state
 
QBasicMutex finalizeMutex
 
HashResult result
 
const QCryptographicHash::Algorithm method
 

Detailed Description

Definition at line 239 of file qcryptographichash.cpp.

Constructor & Destructor Documentation

◆ QCryptographicHashPrivate() [1/2]

QCryptographicHashPrivate::QCryptographicHashPrivate ( QCryptographicHash::Algorithm method)
inlineexplicitnoexcept

Definition at line 242 of file qcryptographichash.cpp.

References QCryptographicHashPrivate().

Referenced by QCryptographicHashPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~QCryptographicHashPrivate() [1/2]

QCryptographicHashPrivate::~QCryptographicHashPrivate ( )
inline

Definition at line 246 of file qcryptographichash.cpp.

◆ QCryptographicHashPrivate() [2/2]

QCryptographicHashPrivate::QCryptographicHashPrivate ( QCryptographicHash::Algorithm method)
inlineexplicitnoexcept

Definition at line 242 of file qcryptographichash.cpp.

◆ ~QCryptographicHashPrivate() [2/2]

QCryptographicHashPrivate::~QCryptographicHashPrivate ( )
inline

Definition at line 246 of file qcryptographichash.cpp.

Member Function Documentation

◆ addData() [1/4]

void QCryptographicHashPrivate::addData ( QByteArrayView bytes)
noexcept

Definition at line 766 of file qcryptographichash.cpp.

◆ addData() [2/4]

void QCryptographicHashPrivate::addData ( QByteArrayView bytes)
noexcept

◆ addData() [3/4]

bool QCryptographicHashPrivate::addData ( QIODevice * dev)

Definition at line 885 of file qcryptographichash.cpp.

References addData().

Referenced by addData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addData() [4/4]

bool QCryptographicHashPrivate::addData ( QIODevice * dev)

◆ finalize() [1/2]

void QCryptographicHashPrivate::finalize ( )
noexcept

Calls finalizeUnchecked(), if needed, under finalizeMutex protection.

Definition at line 936 of file qcryptographichash.cpp.

References finalizeUnchecked().

+ Here is the call graph for this function:

◆ finalize() [2/2]

void QCryptographicHashPrivate::finalize ( )
noexcept

◆ finalizeUnchecked() [1/2]

void QCryptographicHashPrivate::finalizeUnchecked ( )
noexcept

Must be called with finalizeMutex held (except from static hash() function, where no sharing can take place).

Definition at line 951 of file qcryptographichash.cpp.

Referenced by finalize().

+ Here is the caller graph for this function:

◆ finalizeUnchecked() [2/2]

void QCryptographicHashPrivate::finalizeUnchecked ( )
noexcept

◆ reset() [1/2]

void QCryptographicHashPrivate::reset ( )
noexcept

Definition at line 638 of file qcryptographichash.cpp.

◆ reset() [2/2]

void QCryptographicHashPrivate::reset ( )
noexcept

◆ resultView() [1/2]

QByteArrayView QCryptographicHashPrivate::resultView ( ) const
inlinenoexcept

Definition at line 259 of file qcryptographichash.cpp.

◆ resultView() [2/2]

QByteArrayView QCryptographicHashPrivate::resultView ( ) const
inlinenoexcept

Definition at line 259 of file qcryptographichash.cpp.

◆ supportsAlgorithm() [1/2]

bool QCryptographicHashPrivate::supportsAlgorithm ( QCryptographicHash::Algorithm method)
static

Definition at line 1173 of file qcryptographichash.cpp.

◆ supportsAlgorithm() [2/2]

static bool QCryptographicHashPrivate::supportsAlgorithm ( QCryptographicHash::Algorithm method)
static

Member Data Documentation

◆ finalizeMutex

QBasicMutex QCryptographicHashPrivate::finalizeMutex

Definition at line 327 of file qcryptographichash.cpp.

◆ method

const QCryptographicHash::Algorithm QCryptographicHashPrivate::method

Definition at line 330 of file qcryptographichash.cpp.

◆ result

HashResult QCryptographicHashPrivate::result

Definition at line 328 of file qcryptographichash.cpp.

◆ state

union QCryptographicHashPrivate::State QCryptographicHashPrivate::state

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