PySide.QtNetwork.QSslCipher class represents an SSL cryptographic cipher.
PySide.QtNetwork.QSslCipher stores information about one cryptographic cipher. It is most commonly used with PySide.QtNetwork.QSslSocket , either for configuring which ciphers the socket can use, or for displaying the socket's ciphers to the user.
| 参数: |
|
|---|
构造空 PySide.QtNetwork.QSslCipher 对象。
Constructs an identical copy of the other cipher.
| 返回类型: | unicode |
|---|
Returns the cipher's authentication method as a PySide.QtCore.QString .
| 返回类型: | unicode |
|---|
Returns the cipher's encryption method as a PySide.QtCore.QString .
| 返回类型: | PySide.QtCore.bool |
|---|
Returns true if this is a null cipher; otherwise returns false.
| 返回类型: | unicode |
|---|
Returns the cipher's key exchange method as a PySide.QtCore.QString .
| 返回类型: | unicode |
|---|
Returns the name of the cipher, or an empty PySide.QtCore.QString if this is a null cipher.
| 参数: | other – PySide.QtNetwork.QSslCipher |
|---|---|
| 返回类型: | PySide.QtCore.bool |
Returns true if this cipher is not the same as other ; otherwise, false is returned.
| 参数: | other – PySide.QtNetwork.QSslCipher |
|---|---|
| 返回类型: | PySide.QtCore.bool |
Returns true if this cipher is the same as other ; otherwise, false is returned.
| 返回类型: | PySide.QtNetwork.QSsl.SslProtocol |
|---|
Returns the cipher's protocol type, or QSsl.UnknownProtocol if PySide.QtNetwork.QSslCipher is unable to determine the protocol ( PySide.QtNetwork.QSslCipher.protocolString() may contain more information).
| 返回类型: | unicode |
|---|
Returns the cipher's protocol as a PySide.QtCore.QString .
| 返回类型: | PySide.QtCore.int |
|---|
Returns the number of bits supported by the cipher.
| 返回类型: | PySide.QtCore.int |
|---|
Returns the number of bits used by the cipher.