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

Method __format__

cscan/extensions.py:54–59  ·  view source on GitHub ↗

Formatted representation of extension.

(self, formatstr)

Source from the content-addressed store, hash-verified

52 .format(self.renegotiated_connection)
53
54 def __format__(self, formatstr):
55 """Formatted representation of extension."""
56 data = messages.format_bytearray(self.renegotiated_connection,
57 formatstr)
58 return "RenegotiationExtension(renegotiated_connection={0})"\
59 .format(data)
60
61tlslite.extensions.TLSExtension._universalExtensions[
62 ExtensionType.renegotiation_info] = RenegotiationExtension

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected