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
dtlscallbacks Namespace Reference

Functions

int q_generate_cookie_callback (SSL *ssl, unsigned char *dst, unsigned *cookieLength)
int q_verify_cookie_callback (SSL *ssl, const unsigned char *cookie, unsigned cookieLength)
int q_X509DtlsCallback (int ok, X509_STORE_CTX *ctx)
unsigned q_PSK_client_callback (SSL *ssl, const char *hint, char *identity, unsigned max_identity_len, unsigned char *psk, unsigned max_psk_len)
unsigned q_PSK_server_callback (SSL *ssl, const char *identity, unsigned char *psk, unsigned max_psk_len)

Function Documentation

◆ q_generate_cookie_callback()

int dtlscallbacks::q_generate_cookie_callback ( SSL * ssl,
unsigned char * dst,
unsigned * cookieLength )

Definition at line 155 of file qdtls_openssl.cpp.

References dtlsutil::cookie_for_peer(), q_SSL_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.

Referenced by q_verify_cookie_callback().

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

◆ q_PSK_client_callback()

unsigned dtlscallbacks::q_PSK_client_callback ( SSL * ssl,
const char * hint,
char * identity,
unsigned max_identity_len,
unsigned char * psk,
unsigned max_psk_len )

Definition at line 232 of file qdtls_openssl.cpp.

References dtlsopenssl::DtlsState::dtlsPrivate, QDtlsPrivateOpenSSL::pskClientCallback(), q_SSL_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.

Here is the call graph for this function:

◆ q_PSK_server_callback()

unsigned dtlscallbacks::q_PSK_server_callback ( SSL * ssl,
const char * identity,
unsigned char * psk,
unsigned max_psk_len )

Definition at line 244 of file qdtls_openssl.cpp.

References dtlsopenssl::DtlsState::dtlsPrivate, QDtlsPrivateOpenSSL::pskServerCallback(), q_SSL_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.

Here is the call graph for this function:

◆ q_verify_cookie_callback()

int dtlscallbacks::q_verify_cookie_callback ( SSL * ssl,
const unsigned char * cookie,
unsigned cookieLength )

Definition at line 190 of file qdtls_openssl.cpp.

References q_generate_cookie_callback().

Here is the call graph for this function:

◆ q_X509DtlsCallback()

int dtlscallbacks::q_X509DtlsCallback ( int ok,
X509_STORE_CTX * ctx )

Definition at line 206 of file qdtls_openssl.cpp.

References QTlsPrivate::X509CertificateOpenSSL::errorEntryFromStoreContext(), q_SSL_get_ex_data(), q_SSL_get_ex_data_X509_STORE_CTX_idx(), q_X509_STORE_CTX_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.

Here is the call graph for this function: