MCPcopy Create free account
hub / github.com/mozilla/cipherscan / extData

Method extData

cscan/extensions.py:31–38  ·  view source on GitHub ↗

Serialise the extension.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected