Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
dtlsutil Namespace Reference

Classes

struct  FallbackCookieSecret
 

Enumerations

enum class  MtuGuess : long { defaultMtu = 576 }
 

Functions

QByteArray cookie_for_peer (SSL *ssl)
 
QByteArray fallbackSecret ()
 
int next_timeoutMs (SSL *tlsConnection)
 
void delete_connection (SSL *ssl)
 
void delete_BIO_ADDR (BIO_ADDR *bio)
 
void delete_bio_method (BIO_METHOD *method)
 

Enumeration Type Documentation

◆ MtuGuess

enum class dtlsutil::MtuGuess : long
strong
Enumerator
defaultMtu 

Definition at line 144 of file qdtls_openssl.cpp.

Function Documentation

◆ cookie_for_peer()

QByteArray dtlsutil::cookie_for_peer ( SSL * ssl)

Definition at line 43 of file qdtls_openssl.cpp.

References QAbstractSocket::IPv4Protocol, QAbstractSocket::IPv6Protocol, QHostAddress::protocol(), Q_ASSERT, q_BIO_get_app_data, q_SSL_get_rbio(), qCWarning, QHostAddress::toIPv4Address(), and QHostAddress::toIPv6Address().

Referenced by dtlscallbacks::q_generate_cookie_callback().

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

◆ delete_BIO_ADDR()

void dtlsutil::delete_BIO_ADDR ( BIO_ADDR * bio)

Definition at line 122 of file qdtls_openssl.cpp.

Referenced by QDtlsPrivateOpenSSL::startHandshake(), and QDtlsClientVerifierOpenSSL::verifyClient().

+ Here is the caller graph for this function:

◆ delete_bio_method()

void dtlsutil::delete_bio_method ( BIO_METHOD * method)

Definition at line 129 of file qdtls_openssl.cpp.

References method.

◆ delete_connection()

void dtlsutil::delete_connection ( SSL * ssl)

Definition at line 115 of file qdtls_openssl.cpp.

References q_SSL_free().

+ Here is the call graph for this function:

◆ fallbackSecret()

QByteArray dtlsutil::fallbackSecret ( )

Definition at line 100 of file qdtls_openssl.cpp.

References generator.

◆ next_timeoutMs()

int dtlsutil::next_timeoutMs ( SSL * tlsConnection)

Definition at line 106 of file qdtls_openssl.cpp.

References Q_ASSERT.

Referenced by QDtlsPrivateOpenSSL::handleTimeout().

+ Here is the caller graph for this function: