Exemplo n.º 1
0
    def get_state(self):
        # type: () -> bytes
        """Return the SSL state of this connection.

        During its use, an SSL objects passes several states. The state
        is internally maintained. Querying the state information is not
        very informative before or when a connection has been
        established. It however can be of significant interest during
        the handshake.

        :return: 6 letter string indicating the current state of the SSL
                 object ssl.
        """
        return m2.ssl_get_state(self.ssl)
Exemplo n.º 2
0
    def get_state(self):
        # type: () -> bytes
        """Return the SSL state of this connection.

        During its use, an SSL objects passes several states. The state
        is internally maintained. Querying the state information is not
        very informative before or when a connection has been
        established. It however can be of significant interest during
        the handshake.

        :return: 6 letter string indicating the current state of the SSL
                 object ssl.
        """
        return m2.ssl_get_state(self.ssl)
Exemplo n.º 3
0
 def get_state(self):
     """Return the SSL state of this connection."""
     return m2.ssl_get_state(self.ssl)
Exemplo n.º 4
0
 def get_state(self):
     """Return the SSL state of this connection."""
     return m2.ssl_get_state(self.ssl)