
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQSslCipher class represents an SSL cryptographic cipher.More...
| Header: | #include <QSslCipher> |
| Since: | Qt 4.3 |
Note: All functions in this class arereentrant.
| QSslCipher() | |
| QSslCipher(const QString & name, QSsl::SslProtocol protocol) | |
| QSslCipher(const QSslCipher & other) | |
| ~QSslCipher() | |
| QString | authenticationMethod() const |
| QString | encryptionMethod() const |
| bool | isNull() const |
| QString | keyExchangeMethod() const |
| QString | name() const |
| QSsl::SslProtocol | protocol() const |
| QString | protocolString() const |
| int | supportedBits() const |
| int | usedBits() const |
| bool | operator!=(const QSslCipher & other) const |
| QSslCipher & | operator=(const QSslCipher & other) |
| bool | operator==(const QSslCipher & other) const |
TheQSslCipher class represents an SSL cryptographic cipher.
QSslCipher stores information about one cryptographic cipher. It is most commonly used withQSslSocket, either for configuring which ciphers the socket can use, or for displaying the socket's ciphers to the user.
See alsoQSslSocket andQSslKey.
Constructs an emptyQSslCipher object.
Constructs aQSslCipher object for the cipher determined byname andprotocol. The constructor accepts only supported ciphers (i.e., thename andprotocol must identify a cipher in the list of ciphers returned byQSslSocket::supportedCiphers()).
You can callisNull() after construction to check ifname andprotocol correctly identified a supported cipher.
Constructs an identical copy of theother cipher.
Destroys theQSslCipher object.
Returns the cipher's authentication method as aQString.
Returns the cipher's encryption method as aQString.
Returns true if this is a null cipher; otherwise returns false.
Returns the cipher's key exchange method as aQString.
Returns the name of the cipher, or an emptyQString if this is a null cipher.
See alsoisNull().
Returns the cipher's protocol type, orQSsl::UnknownProtocol ifQSslCipher is unable to determine the protocol (protocolString() may contain more information).
See alsoprotocolString().
Returns the cipher's protocol as aQString.
See alsoprotocol().
Returns the number of bits supported by the cipher.
See alsousedBits().
Returns the number of bits used by the cipher.
See alsosupportedBits().
Returns true if this cipher is not the same asother; otherwise, false is returned.
Copies the contents ofother into this cipher, making the two ciphers identical.
Returns true if this cipher is the same asother; otherwise, false is returned.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.