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.

ConstantValueDescription
QSsl::QSslSocket::SupportedFeature::CertificateVerification0Indicates that QSslCertificate::verify() is implemented by the backend.
QSsl::QSslSocket::SupportedFeature::ClientSideAlpn1Client-side ALPN (Application Layer Protocol Negotiation).
QSsl::QSslSocket::SupportedFeature::ServerSideAlpn2Server-side ALPN.
QSsl::QSslSocket::SupportedFeature::Ocsp3OCSP stapling (Online Certificate Status Protocol).
QSsl::QSslSocket::SupportedFeature::Psk4Pre-shared keys.
QSsl::QSslSocket::SupportedFeature::SessionTicket5Session tickets.
QSsl::QSslSocket::SupportedFeature::Alerts6Information about alert messages sent and received.

This enum was introduced in Qt 6.1.