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
dtlsopenssl::DtlsState Class Reference

#include <qdtls_openssl_p.h>

Collaboration diagram for dtlsopenssl::DtlsState:

Public Types

using BioMethod = QSharedPointer<BIO_METHOD>
using TlsContext = std::shared_ptr<QSslContext>
using TlsConnection = QSharedPointer<SSL>

Public Member Functions

bool init (QDtlsBasePrivate *dtlsBase, QUdpSocket *socket, const QHostAddress &remote, quint16 port, const QByteArray &receivedMessage)
void reset ()

Public Attributes

BioMethod bioMethod
TlsContext tlsContext
TlsConnection tlsConnection
QByteArray dgram
QHostAddress remoteAddress
quint16 remotePort = 0
QList< QSslErrorEntryx509Errors
long peeking = false
QUdpSocketudpSocket = nullptr
bool writeSuppressed = false
QDtlsPrivateOpenSSLdtlsPrivate = nullptr
QByteArray secret
QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256

Detailed Description

Definition at line 53 of file qdtls_openssl_p.h.

Member Typedef Documentation

◆ BioMethod

Definition at line 58 of file qdtls_openssl_p.h.

◆ TlsConnection

◆ TlsContext

Definition at line 61 of file qdtls_openssl_p.h.

Member Function Documentation

◆ init()

bool dtlsopenssl::DtlsState::init ( QDtlsBasePrivate * dtlsBase,
QUdpSocket * socket,
const QHostAddress & remote,
quint16 port,
const QByteArray & receivedMessage )

Definition at line 559 of file qdtls_openssl.cpp.

References udpSocket.

◆ reset()

void dtlsopenssl::DtlsState::reset ( )

Definition at line 585 of file qdtls_openssl.cpp.

Member Data Documentation

◆ bioMethod

BioMethod dtlsopenssl::DtlsState::bioMethod

Definition at line 59 of file qdtls_openssl_p.h.

◆ dgram

QByteArray dtlsopenssl::DtlsState::dgram

Definition at line 67 of file qdtls_openssl_p.h.

◆ dtlsPrivate

QDtlsPrivateOpenSSL* dtlsopenssl::DtlsState::dtlsPrivate = nullptr

◆ hashAlgorithm

QCryptographicHash::Algorithm dtlsopenssl::DtlsState::hashAlgorithm = QCryptographicHash::Sha256

Definition at line 87 of file qdtls_openssl_p.h.

◆ peeking

long dtlsopenssl::DtlsState::peeking = false

Definition at line 74 of file qdtls_openssl_p.h.

Referenced by dtlsbio::q_dgram_ctrl(), and dtlsbio::q_dgram_read().

◆ remoteAddress

QHostAddress dtlsopenssl::DtlsState::remoteAddress

Definition at line 69 of file qdtls_openssl_p.h.

◆ remotePort

quint16 dtlsopenssl::DtlsState::remotePort = 0

Definition at line 70 of file qdtls_openssl_p.h.

◆ secret

QByteArray dtlsopenssl::DtlsState::secret

Definition at line 85 of file qdtls_openssl_p.h.

◆ tlsConnection

TlsConnection dtlsopenssl::DtlsState::tlsConnection

Definition at line 65 of file qdtls_openssl_p.h.

◆ tlsContext

TlsContext dtlsopenssl::DtlsState::tlsContext

Definition at line 62 of file qdtls_openssl_p.h.

◆ udpSocket

QUdpSocket* dtlsopenssl::DtlsState::udpSocket = nullptr

Definition at line 75 of file qdtls_openssl_p.h.

Referenced by init(), and dtlsbio::q_dgram_write().

◆ writeSuppressed

bool dtlsopenssl::DtlsState::writeSuppressed = false

Definition at line 76 of file qdtls_openssl_p.h.

Referenced by dtlsbio::q_dgram_write().

◆ x509Errors

QList<QSslErrorEntry> dtlsopenssl::DtlsState::x509Errors

Definition at line 72 of file qdtls_openssl_p.h.


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