![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Namespace containing onternal types that TLS backends implement. More...
Classes | |
| class | QSecureTransportContext |
| struct | SchannelCipherInfo |
| class | TlsCryptographOpenSSL |
| class | TlsCryptographSchannel |
| class | TlsCryptographSecureTransport |
| class | TlsKey |
| TlsKey is an abstract class, that allows a TLS plugin to provide an underlying implementation for the class QSslKey. More... | |
| class | TlsKeyBase |
| class | TlsKeyGeneric |
| class | TlsKeyOpenSSL |
| class | TlsKeySchannel |
| class | TlsKeySecureTransport |
| class | X509Certificate |
| X509Certificate is an abstract class that allows a TLS backend to provide an implementation of the QSslCertificate class. More... | |
| class | X509CertificateBase |
| class | X509CertificateGeneric |
| class | X509CertificateOpenSSL |
| class | X509CertificateSchannel |
| class | X509CertificateSecureTransport |
Typedefs | |
| using | X509ChainVerifyPtr |
| using | X509PemReaderPtr = QList<QSslCertificate> (*)(const QByteArray &pem, int count) |
| using | X509DerReaderPtr = X509PemReaderPtr |
| using | X509Pkcs12ReaderPtr |
Enumerations | |
| enum class | Cipher { DesCbc , DesEde3Cbc , Rc2Cbc , Aes128Cbc , Aes192Cbc , Aes256Cbc } |
Variables | |
| QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED std::array< SchannelCipherInfo, 44 > | schannelCipherInfo |
| UNICODE_STRING | cbcChainingMode |
| UNICODE_STRING | gcmChainingMode |
| static const uint8_t | dhparam [] |
Namespace containing onternal types that TLS backends implement.
(Network-private)
This namespace is private to Qt and the backends that implement its TLS support.
Definition at line 147 of file qtlsbackend_p.h.
Definition at line 150 of file qtlsbackend_p.h.
| using QTlsPrivate::X509PemReaderPtr = QList<QSslCertificate> (*)(const QByteArray &pem, int count) |
Definition at line 149 of file qtlsbackend_p.h.
Definition at line 151 of file qtlsbackend_p.h.
|
strong |
|
static |
Definition at line 2254 of file qtls_schannel.cpp.
| QT_WARNING_POP const SchannelCipherInfo * QTlsPrivate::cipherInfoByOpenSslName | ( | const QString & | name | ) |
Definition at line 210 of file qtls_schannel.cpp.
| QList< QSslCipher > QTlsPrivate::ciphersByName | ( | QStringView | schannelSuiteName | ) |
Definition at line 398 of file qtls_schannel.cpp.
| bool QTlsPrivate::containsTls13Cipher | ( | const QList< QSslCipher > & | ciphers | ) |
Definition at line 462 of file qtls_schannel.cpp.
| QList< CRYPTO_SETTINGS > QTlsPrivate::cryptoSettingsForCiphers | ( | const QList< QSslCipher > & | ciphers | ) |
Determines which algorithms are not used by the requested ciphers to build up a black list that can be passed to SCH_CREDENTIALS.
Definition at line 236 of file qtls_schannel.cpp.
| QList< QSslCipher > QTlsPrivate::defaultCiphers | ( | ) |
Definition at line 428 of file qtls_schannel.cpp.
| QByteArray QTlsPrivate::doCrypt | ( | QSslKeyPrivate::Cipher | cipher, |
| const QByteArray & | data, | ||
| const QByteArray & | key, | ||
| const QByteArray & | iv, | ||
| bool | enc ) |
Definition at line 449 of file qtlskey_openssl.cpp.
References QTlsBackendOpenSSL::logAndClearErrorQueue(), q_EVP_aes_128_cbc(), q_EVP_aes_192_cbc(), q_EVP_aes_256_cbc(), q_EVP_CIPHER_CTX_free(), q_EVP_CIPHER_CTX_new(), q_EVP_CIPHER_CTX_reset(), q_EVP_CipherFinal(), q_EVP_CipherInit(), q_EVP_CipherInit_ex(), q_EVP_des_cbc(), q_EVP_des_ede3_cbc(), and q_EVP_rc2_cbc().
| QList< QByteArray > QTlsPrivate::fetchSslCertificateData | ( | ) |
Definition at line 29 of file qsslsocket_openssl_android.cpp.
| QTlsPrivate::Q_GLOBAL_STATIC_WITH_ARGS | ( | OidLengthMap | , |
| oidLengthMap | , | ||
| (createOidMap()) | ) |
Definition at line 88 of file qtlskey_generic.cpp.
|
static |
Definition at line 211 of file qtls_openssl.cpp.
References QTlsPrivate::TlsCryptographOpenSSL::pskClientTlsCallback(), q_SSL_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.
|
static |
Definition at line 218 of file qtls_openssl.cpp.
References QTlsPrivate::TlsCryptographOpenSSL::pskServerTlsCallback(), q_SSL_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.
| int QTlsPrivate::q_X509Callback | ( | int | ok, |
| X509_STORE_CTX * | ctx ) |
Definition at line 115 of file qtls_openssl.cpp.
References QTlsPrivate::X509CertificateOpenSSL::errorEntryFromStoreContext(), QTlsPrivate::TlsCryptographOpenSSL::errorOffsetInExData, QTlsPrivate::TlsCryptographOpenSSL::isInSslRead(), q_SSL_get_ex_data(), q_SSL_get_ex_data_X509_STORE_CTX_idx(), q_X509_STORE_CTX_get0_store(), q_X509_STORE_CTX_get_ex_data(), q_X509_STORE_get_ex_data(), QTlsBackendOpenSSL::s_indexForSSLExtraData, QTlsPrivate::TlsCryptographOpenSSL::setRenegotiated(), and QTlsPrivate::TlsCryptographOpenSSL::socketOffsetInExData.
| int QTlsPrivate::q_X509CallbackDirect | ( | int | ok, |
| X509_STORE_CTX * | ctx ) |
Definition at line 171 of file qtls_openssl.cpp.
References QTlsPrivate::TlsCryptographOpenSSL::emitErrorFromCallback(), q_SSL_get_ex_data(), q_SSL_get_ex_data_X509_STORE_CTX_idx(), q_X509_STORE_CTX_get_ex_data(), QTlsBackendOpenSSL::s_indexForSSLExtraData, and QTlsPrivate::TlsCryptographOpenSSL::socketOffsetInExData.
| QSslCipher QTlsPrivate::QSslCipher_from_SSLCipherSuite | ( | SSLCipherSuite | cipher | ) |
Definition at line 27 of file qtlsbackend_st.cpp.
| void QTlsPrivate::qt_AlertInfoCallback | ( | const SSL * | connection, |
| int | from, | ||
| int | value ) |
Definition at line 326 of file qtls_openssl.cpp.
References QTlsPrivate::TlsCryptographOpenSSL::alertMessageReceived(), QTlsPrivate::TlsCryptographOpenSSL::alertMessageSent(), q_SSL_get_ex_data(), QTlsBackendOpenSSL::s_indexForSSLExtraData, and QTlsPrivate::TlsCryptographOpenSSL::socketOffsetInExData.
Referenced by QTlsPrivate::TlsCryptographOpenSSL::startHandshake().
| SSLContextRef QTlsPrivate::qt_createSecureTransportContext | ( | QSslSocket::SslMode | mode | ) |
Definition at line 167 of file qtls_st.cpp.
| int QTlsPrivate::qt_X509Callback | ( | int | ok, |
| X509_STORE_CTX * | ctx ) |
Definition at line 356 of file qx509_openssl.cpp.
References QTlsPrivate::X509CertificateOpenSSL::errorEntryFromStoreContext(), QTlsPrivate::TlsCryptographOpenSSL::errorOffsetInExData, q_SSL_get_ex_data(), q_SSL_get_ex_data_X509_STORE_CTX_idx(), q_X509_STORE_CTX_get0_store(), q_X509_STORE_CTX_get_ex_data(), q_X509_STORE_get_ex_data(), and QTlsBackendOpenSSL::s_indexForSSLExtraData.
Referenced by QTlsPrivate::X509CertificateOpenSSL::verify().
| QList< QSslCertificate > QTlsPrivate::systemCaCertificates | ( | ) |
Definition at line 359 of file qtlsbackend_openssl.cpp.
| UNICODE_STRING QTlsPrivate::cbcChainingMode |
Definition at line 220 of file qtls_schannel.cpp.
|
static |
Definition at line 200 of file qtls_st.cpp.
| UNICODE_STRING QTlsPrivate::gcmChainingMode |
Definition at line 226 of file qtls_schannel.cpp.
| QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED std::array< SchannelCipherInfo, 44 > QTlsPrivate::schannelCipherInfo |
Definition at line 158 of file qtls_schannel.cpp.