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
qdtls_openssl.cpp File Reference

(1dfa922606e497918e57a6a06f96ee63b7fb163e)

#include <QtNetwork/private/qnativesocketengine_p_p.h>
#include "qsslsocket_openssl_symbols_p.h"
#include "qdtls_openssl_p.h"
#include "qx509_openssl_p.h"
#include <QtNetwork/private/qsslpresharedkeyauthenticator_p.h>
#include <QtNetwork/private/qsslcertificate_p.h>
#include <QtNetwork/private/qssl_p.h>
#include <QtNetwork/qudpsocket.h>
#include <QtCore/qmessageauthenticationcode.h>
#include <QtCore/qcryptographichash.h>
#include <QtCore/qdebug.h>
#include <cstring>
#include <cstddef>
+ Include dependency graph for qdtls_openssl.cpp:

Go to the source code of this file.

Classes

struct  dtlsutil::FallbackCookieSecret
 

Namespaces

namespace  dtlsutil
 
namespace  dtlscallbacks
 
namespace  dtlsbio
 
namespace  dtlsopenssl
 

Macros

#define QT_DTLS_VERBOSE   0
 
#define qDtlsWarning(arg)
 
#define qDtlsDebug(arg)
 

Enumerations

enum class  dtlsutil::MtuGuess : long { dtlsutil::defaultMtu = 576 }
 

Functions

QByteArray dtlsutil::cookie_for_peer (SSL *ssl)
 
QByteArray dtlsutil::fallbackSecret ()
 
int dtlsutil::next_timeoutMs (SSL *tlsConnection)
 
void dtlsutil::delete_connection (SSL *ssl)
 
void dtlsutil::delete_BIO_ADDR (BIO_ADDR *bio)
 
void dtlsutil::delete_bio_method (BIO_METHOD *method)
 
int dtlscallbacks::q_generate_cookie_callback (SSL *ssl, unsigned char *dst, unsigned *cookieLength)
 
int dtlscallbacks::q_verify_cookie_callback (SSL *ssl, const unsigned char *cookie, unsigned cookieLength)
 
int dtlscallbacks::q_X509DtlsCallback (int ok, X509_STORE_CTX *ctx)
 
unsigned dtlscallbacks::q_PSK_client_callback (SSL *ssl, const char *hint, char *identity, unsigned max_identity_len, unsigned char *psk, unsigned max_psk_len)
 
unsigned dtlscallbacks::q_PSK_server_callback (SSL *ssl, const char *identity, unsigned char *psk, unsigned max_psk_len)
 
int dtlsbio::q_dgram_read (BIO *bio, char *dst, int bytesToRead)
 
int dtlsbio::q_dgram_write (BIO *bio, const char *src, int bytesToWrite)
 
int dtlsbio::q_dgram_puts (BIO *bio, const char *src)
 
long dtlsbio::q_dgram_ctrl (BIO *bio, int cmd, long num, void *ptr)
 
int dtlsbio::q_dgram_create (BIO *bio)
 
int dtlsbio::q_dgram_destroy (BIO *bio)
 
static QString dtlsopenssl::msgFunctionFailed (const char *function)
 

Variables

const char *const dtlsbio::qdtlsMethodName = "qdtlsbio"
 

Macro Definition Documentation

◆ qDtlsDebug

#define qDtlsDebug ( arg)

Definition at line 36 of file qdtls_openssl.cpp.

Referenced by dtlsbio::q_dgram_ctrl().

◆ qDtlsWarning

#define qDtlsWarning ( arg)

Definition at line 35 of file qdtls_openssl.cpp.

Referenced by dtlsbio::q_dgram_ctrl().

◆ QT_DTLS_VERBOSE

#define QT_DTLS_VERBOSE   0

Definition at line 26 of file qdtls_openssl.cpp.