Qt:Документация 4.3.2/qsslcipher
Материал из Wiki.crossplatform.ru
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
[править] QSslCipher Class Reference
[модуль QtNetwork ]
The QSslCipher class represents an SSL cryptographic cipher. Далее...
#include <QSslCipher>
Примечание: все функции в этом классе реентерабельны.
Класс был добавлен в Qt 4.3.
[править] Открытые функции
- 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
[править] Подробное описание
The QSslCipher class represents an SSL cryptographic cipher.
QSslCipher stores information about one cryptographic cipher. It is most commonly used with QSslSocket, either for configuring which ciphers the socket can use, or for displaying the socket's ciphers to the user.
See also QSslSocket and QSslKey.
[править] Описание функций-членов
[править] QSslCipher::QSslCipher ()
Constructs an empty QSslCipher object.
[править] QSslCipher::QSslCipher ( const QString & name, QSsl::SslProtocol protocol )
Constructs a QSslCipher object for the cipher determined by name and protocol. The constructor accepts only supported ciphers (i.e., the name and protocol must identify a cipher in the list of ciphers returned by QSslSocket::supportedCiphers()).
You can call isNull() after construction to check if name and protocol correctly identified a supported cipher.
[править] QSslCipher::QSslCipher ( const QSslCipher & other )
Constructs an identical copy of the other cipher.
[править] QSslCipher::~QSslCipher ()
Destroys the QSslCipher object.
[править] QString QSslCipher::authenticationMethod () const
Returns the cipher's authentication method as a QString.
[править] QString QSslCipher::encryptionMethod () const
Returns the cipher's encryption method as a QString.
[править] bool QSslCipher::isNull () const
Returns true if this is a null cipher; otherwise returns false.
[править] QString QSslCipher::keyExchangeMethod () const
Returns the cipher's key exchange method as a QString.
[править] QString QSslCipher::name () const
Returns the name of the cipher, or an empty QString if this is a null cipher.
Смотрите также isNull().
[править] QSsl::SslProtocol QSslCipher::protocol () const
Returns the cipher's protocol type, or QSsl::UnknownProtocol if QSslCipher is unable to determine the protocol ( protocolString() may contain more information).
See also protocolString().
[править] QString QSslCipher::protocolString () const
Returns the cipher's protocol as a QString.
See also protocol().
[править] int QSslCipher::supportedBits () const
Returns the number of bits supported by the cipher.
See also usedBits().
[править] int QSslCipher::usedBits () const
Returns the number of bits used by the cipher.
See also supportedBits().
[править] bool QSslCipher::operator!= ( const QSslCipher & other ) const
Returns true if this cipher is not the same as other; otherwise, false is returned.
[править] QSslCipher & QSslCipher::operator= ( const QSslCipher & other )
Copies the contents of other into this cipher, making the two ciphers identical.
[править] bool QSslCipher::operator== ( const QSslCipher & other ) const
Returns true if this cipher is the same as other; otherwise, false is returned.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|