• PySide 模块
  • PySide.QtNetwork
  • 内容表

    上一话题

    QSslError

    下一话题

    QHttpHeader

    QSslCipher

    详细描述

    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.

    class PySide.QtNetwork. QSslCipher
    class PySide.QtNetwork. QSslCipher ( other )
    class PySide.QtNetwork. QSslCipher ( name , protocol )
    参数:

    构造空 PySide.QtNetwork.QSslCipher 对象。

    Constructs an identical copy of the other cipher.

    PySide.QtNetwork.QSslCipher. authenticationMethod ( )
    返回类型: unicode

    Returns the cipher's authentication method as a PySide.QtCore.QString .

    PySide.QtNetwork.QSslCipher. encryptionMethod ( )
    返回类型: unicode

    Returns the cipher's encryption method as a PySide.QtCore.QString .

    PySide.QtNetwork.QSslCipher. isNull ( )
    返回类型: PySide.QtCore.bool

    Returns true if this is a null cipher; otherwise returns false.

    PySide.QtNetwork.QSslCipher. keyExchangeMethod ( )
    返回类型: unicode

    Returns the cipher's key exchange method as a PySide.QtCore.QString .

    PySide.QtNetwork.QSslCipher. name ( )
    返回类型: unicode

    Returns the name of the cipher, or an empty PySide.QtCore.QString if this is a null cipher.

    PySide.QtNetwork.QSslCipher. __ne__ ( other )
    参数: other PySide.QtNetwork.QSslCipher
    返回类型: PySide.QtCore.bool

    Returns true if this cipher is not the same as other ; otherwise, false is returned.

    PySide.QtNetwork.QSslCipher. __eq__ ( other )
    参数: other PySide.QtNetwork.QSslCipher
    返回类型: PySide.QtCore.bool

    Returns true if this cipher is the same as other ; otherwise, false is returned.

    PySide.QtNetwork.QSslCipher. protocol ( )
    返回类型: 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).

    PySide.QtNetwork.QSslCipher. protocolString ( )
    返回类型: unicode

    Returns the cipher's protocol as a PySide.QtCore.QString .

    PySide.QtNetwork.QSslCipher. supportedBits ( )
    返回类型: PySide.QtCore.int

    Returns the number of bits supported by the cipher.

    PySide.QtNetwork.QSslCipher. usedBits ( )
    返回类型: PySide.QtCore.int

    Returns the number of bits used by the cipher.