QSslCipher Class Reference |
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.
Constructs an empty QSslCipher object.
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.
Constructs an identical copy of the other cipher.
Destroys the QSslCipher object.
Returns the cipher's authentication method as a QString.
Returns the cipher's encryption method as a QString.
Returns true if this is a null cipher; otherwise returns false.
Returns the cipher's key exchange method as a QString.
Returns the name of the cipher, or an empty QString if this is a null cipher.
See also isNull().
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().
Returns the cipher's protocol as a QString.
See also protocol().
Returns the number of bits supported by the cipher.
See also usedBits().
Returns the number of bits used by the cipher.
See also supportedBits().
Returns true if this cipher is not the same as other; otherwise, false is returned.
Copies the contents of other into this cipher, making the two ciphers identical.
Returns true if this cipher is the same as other; otherwise, false is returned.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.6-snapshot | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com