Deserialise the extension from binary data.
(self, parser)
| 38 | return writer.bytes |
| 39 | |
| 40 | def parse(self, parser): |
| 41 | """Deserialise the extension from binary data.""" |
| 42 | if parser.getRemainingLength() == 0: |
| 43 | self.renegotiated_connection = None |
| 44 | return |
| 45 | |
| 46 | self.renegotiated_connection = parser.getVarBytes(1) |
| 47 | return self |
| 48 | |
| 49 | def __repr__(self): |
| 50 | """Human readable representation of extension.""" |
nothing calls this directly
no outgoing calls
no test coverage detected