Event data for `tls_start_client`, `tls_start_server`, and `tls_handshake` event hooks.
| 133 | |
| 134 | @dataclass |
| 135 | class TlsData: |
| 136 | """ |
| 137 | Event data for `tls_start_client`, `tls_start_server`, and `tls_handshake` event hooks. |
| 138 | """ |
| 139 | |
| 140 | conn: connection.Connection |
| 141 | """The affected connection.""" |
| 142 | context: context.Context |
| 143 | """The context object for this connection.""" |
| 144 | ssl_conn: SSL.Connection | None = None |
| 145 | """ |
| 146 | The associated pyOpenSSL `SSL.Connection` object. |
| 147 | This will be set by an addon in the `tls_start_*` event hooks. |
| 148 | """ |
| 149 | is_dtls: bool = False |
| 150 | """ |
| 151 | If set to `True`, indicates that it is a DTLS event. |
| 152 | """ |
no outgoing calls
no test coverage detected
searching dependent graphs…