QSslSocket Proxy Page
Types
(since 6.1) enum class | SupportedFeature { CertificateVerification, ClientSideAlpn, ServerSideAlpn, Ocsp, Psk, …, Alerts } |
Type Documentation
[since 6.1]
enum class SupportedFeature
Enumerates possible features that a TLS backend supports
In QtNetwork TLS-related classes have public API, that may be left unimplemented by some backend, for example, our SecureTransport backend does not support server-side ALPN. Enumerators from SupportedFeature enum indicate that a particular feature is supported.
Constant | Value | Description |
---|---|---|
QSsl::QSslSocket::SupportedFeature::CertificateVerification | 0 | Indicates that QSslCertificate::verify() is implemented by the backend. |
QSsl::QSslSocket::SupportedFeature::ClientSideAlpn | 1 | Client-side ALPN (Application Layer Protocol Negotiation). |
QSsl::QSslSocket::SupportedFeature::ServerSideAlpn | 2 | Server-side ALPN. |
QSsl::QSslSocket::SupportedFeature::Ocsp | 3 | OCSP stapling (Online Certificate Status Protocol). |
QSsl::QSslSocket::SupportedFeature::Psk | 4 | Pre-shared keys. |
QSsl::QSslSocket::SupportedFeature::SessionTicket | 5 | Session tickets. |
QSsl::QSslSocket::SupportedFeature::Alerts | 6 | Information about alert messages sent and received. |
This enum was introduced in Qt 6.1.