Qt 4.8
|
The QSsl namespace declares enums common to all SSL classes in QtNetwork. More...
Enumerations | |
enum | AlternateNameEntryType { EmailEntry, DnsEntry } |
Describes the key types for alternate name entries in QSslCertificate. More... | |
enum | EncodingFormat { Pem, Der } |
Describes supported encoding formats for certificates and keys. More... | |
enum | KeyAlgorithm { Rsa, Dsa } |
Describes the different key algorithms supported by QSslKey. More... | |
enum | KeyType { PrivateKey, PublicKey } |
Describes the two types of keys QSslKey supports. More... | |
enum | SslOption { SslOptionDisableEmptyFragments = 0x01, SslOptionDisableSessionTickets = 0x02, SslOptionDisableCompression = 0x04, SslOptionDisableServerNameIndication = 0x08, SslOptionDisableLegacyRenegotiation = 0x10 } |
Describes the options that can be used to control the details of SSL behaviour. More... | |
enum | SslProtocol { SslV3, SslV2, TlsV1, AnyProtocol, TlsV1SslV3, SecureProtocols, UnknownProtocol = -1 } |
Describes the protocol of the cipher. More... | |
The QSsl namespace declares enums common to all SSL classes in QtNetwork.
Describes the key types for alternate name entries in QSslCertificate.
Enumerator | |
---|---|
EmailEntry | |
DnsEntry |
enum QSsl::EncodingFormat |
enum QSsl::KeyAlgorithm |
enum QSsl::KeyType |
enum QSsl::SslOption |
Describes the options that can be used to control the details of SSL behaviour.
These options are generally used to turn features off to work around buggy servers.
By default, SslOptionDisableEmptyFragments is turned on since this causes problems with a large number of servers. SslOptionDisableLegacyRenegotiation is also turned on, since it introduces a security risk. SslOptionDisableCompression is turned on to prevent the attack publicised by CRIME. The other options are turned off.
Note: Availability of above options depends on the version of the SSL backend in use.
Enumerator | |
---|---|
SslOptionDisableEmptyFragments | |
SslOptionDisableSessionTickets | |
SslOptionDisableCompression | |
SslOptionDisableServerNameIndication | |
SslOptionDisableLegacyRenegotiation |
enum QSsl::SslProtocol |
Describes the protocol of the cipher.
Note: most servers using SSL understand both versions (2 and 3), but it is recommended to use the latest version only for security reasons. However, SSL and TLS are not compatible with each other: if you get unexpected handshake failures, verify that you chose the correct setting for your protocol.
Enumerator | |
---|---|
SslV3 | |
SslV2 | |
TlsV1 | |
AnyProtocol | |
TlsV1SslV3 | |
SecureProtocols | |
UnknownProtocol |