![]() |
Qt 6.x
The Qt SDK
|
#include <qdtls_openssl_p.h>
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 () |
Definition at line 51 of file qdtls_openssl_p.h.
using dtlsopenssl::DtlsState::BioMethod = QSharedPointer<BIO_METHOD> |
Definition at line 56 of file qdtls_openssl_p.h.
using dtlsopenssl::DtlsState::TlsConnection = QSharedPointer<SSL> |
Definition at line 62 of file qdtls_openssl_p.h.
using dtlsopenssl::DtlsState::TlsContext = std::shared_ptr<QSslContext> |
Definition at line 59 of file qdtls_openssl_p.h.
bool dtlsopenssl::DtlsState::init | ( | QDtlsBasePrivate * | dtlsBase, |
QUdpSocket * | socket, | ||
const QHostAddress & | remote, | ||
quint16 | port, | ||
const QByteArray & | receivedMessage | ||
) |
Definition at line 561 of file qdtls_openssl.cpp.
References Q_ASSERT, q_BIO_set_app_data, q_SSL_get_rbio(), and socket.
Referenced by QDtlsPrivateOpenSSL::continueHandshake(), QDtlsPrivateOpenSSL::startHandshake(), and QDtlsClientVerifierOpenSSL::verifyClient().
void dtlsopenssl::DtlsState::reset | ( | ) |
Definition at line 587 of file qdtls_openssl.cpp.
Referenced by QDtlsPrivateOpenSSL::continueHandshake(), QDtlsPrivateOpenSSL::decryptDatagram(), QDtlsPrivateOpenSSL::startHandshake(), and QDtlsPrivateOpenSSL::writeDatagramEncrypted().
BioMethod dtlsopenssl::DtlsState::bioMethod |
Definition at line 57 of file qdtls_openssl_p.h.
QByteArray dtlsopenssl::DtlsState::dgram |
Definition at line 65 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::decryptDatagram().
QDtlsPrivateOpenSSL* dtlsopenssl::DtlsState::dtlsPrivate = nullptr |
Definition at line 82 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::QDtlsPrivateOpenSSL().
QCryptographicHash::Algorithm dtlsopenssl::DtlsState::hashAlgorithm = QCryptographicHash::Sha256 |
Definition at line 88 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::startHandshake(), and QDtlsClientVerifierOpenSSL::verifyClient().
long dtlsopenssl::DtlsState::peeking = false |
Definition at line 72 of file qdtls_openssl_p.h.
QHostAddress dtlsopenssl::DtlsState::remoteAddress |
Definition at line 67 of file qdtls_openssl_p.h.
quint16 dtlsopenssl::DtlsState::remotePort = 0 |
Definition at line 68 of file qdtls_openssl_p.h.
QByteArray dtlsopenssl::DtlsState::secret |
Definition at line 83 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::startHandshake(), and QDtlsClientVerifierOpenSSL::verifyClient().
TlsConnection dtlsopenssl::DtlsState::tlsConnection |
Definition at line 63 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::continueHandshake(), QDtlsPrivateOpenSSL::decryptDatagram(), QDtlsPrivateOpenSSL::handleTimeout(), QDtlsPrivateOpenSSL::sendShutdownAlert(), QDtlsPrivateOpenSSL::startHandshake(), QDtlsClientVerifierOpenSSL::verifyClient(), and QDtlsPrivateOpenSSL::writeDatagramEncrypted().
TlsContext dtlsopenssl::DtlsState::tlsContext |
Definition at line 60 of file qdtls_openssl_p.h.
QUdpSocket* dtlsopenssl::DtlsState::udpSocket = nullptr |
Definition at line 73 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::decryptDatagram(), QDtlsPrivateOpenSSL::handleTimeout(), QDtlsPrivateOpenSSL::sendShutdownAlert(), and QDtlsPrivateOpenSSL::writeDatagramEncrypted().
bool dtlsopenssl::DtlsState::writeSuppressed = false |
Definition at line 74 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::startHandshake().
QList<QSslErrorEntry> dtlsopenssl::DtlsState::x509Errors |
Definition at line 70 of file qdtls_openssl_p.h.
Referenced by QDtlsPrivateOpenSSL::continueHandshake().