QSslCipher Class ReferenceThe QSslCipher class represents an SSL cryptographic cipher. More... #include <QSslCipher> Note: All functions in this class are reentrant. This class was introduced in Qt 4.3. Public Functions
Detailed DescriptionThe 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. Member Function DocumentationQSslCipher::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 () constReturns the cipher's authentication method as a QString. QString QSslCipher::encryptionMethod () constReturns the cipher's encryption method as a QString. bool QSslCipher::isNull () constReturns true if this is a null cipher; otherwise returns false. QString QSslCipher::keyExchangeMethod () constReturns the cipher's key exchange method as a QString. QString QSslCipher::name () constReturns the name of the cipher, or an empty QString if this is a null cipher. See also isNull(). QSsl::SslProtocol QSslCipher::protocol () constReturns 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 () constReturns the cipher's protocol as a QString. See also protocol(). int QSslCipher::supportedBits () constReturns the number of bits supported by the cipher. See also usedBits(). int QSslCipher::usedBits () constReturns the number of bits used by the cipher. See also supportedBits(). bool QSslCipher::operator!= ( const QSslCipher & other ) constReturns 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 ) constReturns true if this cipher is the same as other; otherwise, false is returned. X
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |