Serialise the extension.
(self)
| 29 | |
| 30 | @property |
| 31 | def extData(self): |
| 32 | """Serialise the extension.""" |
| 33 | if self.renegotiated_connection is None: |
| 34 | return bytearray(0) |
| 35 | |
| 36 | writer = Writer() |
| 37 | writer.addVarSeq(self.renegotiated_connection, 1, 1) |
| 38 | return writer.bytes |
| 39 | |
| 40 | def parse(self, parser): |
| 41 | """Deserialise the extension from binary data.""" |
nothing calls this directly
no outgoing calls
no test coverage detected